Skip to content

Mesh ninja my_light_switch_client_nrf52840_xxAA_s140_6.1.0 failed #40

@wangyanjiong163

Description

@wangyanjiong163

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions