You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to do "ninja my_light_switch_client_nrf52840_xxAA_s140_6.1.0" following the guide, I met below issue:
../examples/my_light_switch/client/src/main.c: In function 'button_event_handler':
../examples/my_light_switch/client/src/main.c:236:18: error: 'BUTTON_2' undeclared (first use in this function); did you mean 'BUTTON_1'?
236 | case BUTTON_2:
| ^~~~~~~~
| BUTTON_1
../examples/my_light_switch/client/src/main.c:236:18: note: each undeclared identifier is reported only once for each function it appears in
../examples/my_light_switch/client/src/main.c: In function 'buttons_init':
../examples/my_light_switch/client/src/main.c:285:10: error: 'BUTTON_2' undeclared (first use in this function); did you mean 'BUTTON_1'?
285 | {BUTTON_2, BUTTONS_ACTIVE_STATE, BUTTON_PULL, button_event_handler}
| ^~~~~~~~
| BUTTON_1
Anything I missed possiblely?
BR.
Wang Yanjiong
The text was updated successfully, but these errors were encountered:
Hi,
When trying to do "ninja my_light_switch_client_nrf52840_xxAA_s140_6.1.0" following the guide, I met below issue:
../examples/my_light_switch/client/src/main.c: In function 'button_event_handler':
../examples/my_light_switch/client/src/main.c:236:18: error: 'BUTTON_2' undeclared (first use in this function); did you mean 'BUTTON_1'?
236 | case BUTTON_2:
| ^~~~~~~~
| BUTTON_1
../examples/my_light_switch/client/src/main.c:236:18: note: each undeclared identifier is reported only once for each function it appears in
../examples/my_light_switch/client/src/main.c: In function 'buttons_init':
../examples/my_light_switch/client/src/main.c:285:10: error: 'BUTTON_2' undeclared (first use in this function); did you mean 'BUTTON_1'?
285 | {BUTTON_2, BUTTONS_ACTIVE_STATE, BUTTON_PULL, button_event_handler}
| ^~~~~~~~
| BUTTON_1
Anything I missed possiblely?
BR.
Wang Yanjiong
The text was updated successfully, but these errors were encountered: