22 lines
708 B
C++
22 lines
708 B
C++
// 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
|