Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh ninja my_light_switch_client_nrf52840_xxAA_s140_6.1.0 failed #40

Open
wangyanjiong163 opened this issue Sep 1, 2020 · 0 comments

Comments

@wangyanjiong163
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant