MySensors
MySensors copied to clipboard
'sd_softdevice_disable' was not declared in this scope
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