sh123 / esp32_loradv

ESP32 based Codec2/OPUS DV handheld trasceiver
GNU General Public License v2.0
34 stars 6 forks source link

Comment out for SX127X module build error #2

Closed jumbo5566 closed 1 year ago

jumbo5566 commented 1 year ago

Building in release mode Compiling .pio\build\esp32dev\src\audio_task.cpp.o Compiling .pio\build\esp32dev\src\hw_monitor.cpp.o Compiling .pio\build\esp32dev\src\loradv_config.cpp.o Compiling .pio\build\esp32dev\src\loradv_service.cpp.o In file included from src/loradv_config.cpp:1: include/loradv_config.h:14:48: note: #pragma message: Using default built-in config

pragma message("Using default built-in config")

                                            ^

In file included from include/loradv_config.h:15, from src/loradv_config.cpp:1: include/config.h:28:68: note: #pragma message: LoRa pin definitions are not found, redefining...

pragma message("LoRa pin definitions are not found, redefining...")

                                                                ^

src/loradv_config.cpp: In member function 'void LoraDv::Config::InitializeDefault()': include/config.h:42:37: error: 'RADIOLIB_NC' was not declared in this scope

define CFG_LORA_PIN_B RADIOLIB_NC // (sx127x - dio1, sx126x/sx128x - busy)

                                 ^~~~~~~~~~~

src/loradv_config.cpp:36:15: note: in expansion of macro 'CFG_LORA_PINB' LoraPinB = CFG_LORA_PIN_B; // (sx127x - dio1, sx126x/sx128x - busy) ^~~~~~ *** [.pio\build\esp32dev\src\loradv_config.cpp.o] Error 1 In file included from include/hw_monitor.h:6,

jumbo5566 commented 1 year ago

i add loradv_config.h #include then OK