oh yeah, make idf compat

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-29 15:56:47 -08:00
parent e75f752f3d
commit f581b74251
2 changed files with 6 additions and 1 deletions

5
CMakeLists.txt Normal file
View File

@ -0,0 +1,5 @@
idf_component_register(SRCS
"main/esp32-lora.c"
INCLUDE_DIRS "include"
)

View File

@ -37,7 +37,7 @@ lora32_cfg_t lora32_create() {
.implicitHeader = false,
.nss = CONFIG_LORA32_NSS_PIN,
.reset = CONFIG_LORA32_RESET_PIN,
.frequency = 866000000,
.frequency = 915000000,
.preamble = DEFAULT_PREAMBLE,
.spreadingFactor = DEFAULT_SF,
.spi = spi,