MySensors icon indicating copy to clipboard operation
MySensors copied to clipboard

'sd_softdevice_disable' was not declared in this scope

Open turingking opened this issue 5 years ago • 0 comments

I try to port this DimmableLEDActuator.ino program to nrf52832

I just changed this line:

//#define MY_RADIO_RF24
#define MY_RADIO_NRF5_ESB

error info

Arduino:1.8.14 Hourly Build 2020/06/24 01:33 (Windows 10), 开发板:"Generic nRF52, S132, Crystal Oscillator"

In file included from C:\Users\77183\Documents\Arduino\libraries\MySensors/MySensors.h:365:0,

                 from C:\Users\77183\Documents\Arduino\nrf52832\nrf52832.ino:11:

C:\Users\77183\Documents\Arduino\libraries\MySensors/hal/transport/NRF5_ESB/driver/Radio_ESB.cpp: In function 'bool NRF5_ESB_initialize()':

C:\Users\77183\Documents\Arduino\libraries\MySensors/hal/transport/NRF5_ESB/driver/Radio_ESB.cpp:69:24: error: 'sd_softdevice_disable' was not declared in this scope

  sd_softdevice_disable();

                        ^

exit status 1

turingking avatar Jul 08 '20 16:07 turingking