project didn't work upon modification pca10040e s112 (sdk17.1.0)

hai 

      i want to send distinct notification value when any of the 5 key is pressed in the ble peripheral module , i try to modify existing ble_app_blinky_pca10040e_s112 , for 4 buttons it works fine , when i add 5th button the devices shows error , in function buttons_init(void) i have modified buttons array as below

static app_button_cfg_t buttons[5] =
{
{LEDBUTTON_BUTTON, false, BUTTON_PULL, button_event_handler},
{cLEDBUTTON_BUTTON1, false, BUTTON_PULL, button_event_handler},
{cLEDBUTTON_BUTTON2, false, BUTTON_PULL, button_event_handler},
{cLEDBUTTON_BUTTON3, false, BUTTON_PULL, button_event_handler},
{cLEDBUTTON_BUTTON4, false, BUTTON_PULL, button_event_handler}
}; 

as mentioned for 4 buttons i get proper notification , but increasing array size and while adding 5th button i got error

 <info> app_timer: RTC: initialized.
<error> app: Fatal error

Parents Reply Children
No Data
Related