Passthrough version

This commit is contained in:
2026-07-07 11:54:46 +10:00
parent 13881ae6c6
commit ba0f775bb9
3 changed files with 108 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2012-2024 Scott Penrose <scottp@dd.com.au> and WII5 Buoy contributors
//
// This file is part of WII5 Buoy firmware.
// See LICENSE for full terms.
/**
* @file pio_main_passthrough.cpp
* @brief PlatformIO entry shim for the wii5_passthrough sketch.
*
* PlatformIO only auto-detects a sketch at the top level of its source
* directory. This shim pulls wii5_passthrough.ino into the PlatformIO
* build (where setup() / loop() are defined).
*
* It is gated on PLATFORMIO so that the arduino-cli build never sees a
* second definition of setup() / loop().
*/
#if defined(PLATFORMIO)
#include "app/wii5_passthrough/wii5_passthrough.ino"
#endif