[STM32WL] Fixed build for Platformio (#718)
This commit is contained in:
parent
f59a69f5c4
commit
7c0fc5305a
3 changed files with 4 additions and 4 deletions
|
@ -7,6 +7,10 @@
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32WLxx)
|
||||||
|
#include <SubGhz.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Value to use as the last element in a mode table to indicate the
|
* Value to use as the last element in a mode table to indicate the
|
||||||
* end of the table.
|
* end of the table.
|
||||||
|
|
|
@ -9,8 +9,6 @@ This file is licensed under the MIT License: https://opensource.org/licenses/MIT
|
||||||
#include "STM32WLx.h"
|
#include "STM32WLx.h"
|
||||||
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
|
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
|
||||||
|
|
||||||
#include <SubGhz.h>
|
|
||||||
|
|
||||||
STM32WLx::STM32WLx(STM32WLx_Module* mod) : SX1262(mod) {
|
STM32WLx::STM32WLx(STM32WLx_Module* mod) : SX1262(mod) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,6 @@ This file is licensed under the MIT License: https://opensource.org/licenses/MIT
|
||||||
|
|
||||||
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
|
#if !defined(RADIOLIB_EXCLUDE_STM32WLX)
|
||||||
|
|
||||||
#include <SubGhz.h>
|
|
||||||
|
|
||||||
// This defines some dummy pin numbers (starting at NUM_DIGITAL_PINS to
|
// This defines some dummy pin numbers (starting at NUM_DIGITAL_PINS to
|
||||||
// guarantee these are not valid regular pin numbers) that can be passed
|
// 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
|
// to the parent Module class, to be stored here and then passed back to
|
||||||
|
|
Loading…
Add table
Reference in a new issue