[STM32WL] Fixed build for Platformio (#718)

This commit is contained in:
jgromes 2023-04-10 10:29:21 +02:00
parent f59a69f5c4
commit 7c0fc5305a
3 changed files with 4 additions and 4 deletions

View file

@ -7,6 +7,10 @@
#include <SPI.h>
#endif
#if defined(STM32WLxx)
#include <SubGhz.h>
#endif
/*!
* Value to use as the last element in a mode table to indicate the
* end of the table.

View file

@ -9,8 +9,6 @@ This file is licensed under the MIT License: https://opensource.org/licenses/MIT
#include "STM32WLx.h"
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
#include <SubGhz.h>
STM32WLx::STM32WLx(STM32WLx_Module* mod) : SX1262(mod) {
}

View file

@ -9,8 +9,6 @@ This file is licensed under the MIT License: https://opensource.org/licenses/MIT
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
#include <SubGhz.h>
// This defines some dummy pin numbers (starting at NUM_DIGITAL_PINS to
// guarantee these are not valid regular pin numbers) that can be passed
// to the parent Module class, to be stored here and then passed back to