/**@brief Function for initializing services that will be used by the application. */ static void services_init(void) { uint32_t err_code; ble_lbs_init_t init; init.led_write_handler = led_write_handler; err_code = ble_lbs_init(&m_lbs, &init); APP_ERROR_CHECK(err_code); }
/**@brief Function for initializing services that will be used by the application. */ static void services_init(void) { // YOUR_JOB: Add code to initialize the services used by the application. uint32_t err_code; ble_lbs_init_t init; init.led_write_handler = led_write_handler; err_code = ble_lbs_init(&m_lbs, &init); APP_ERROR_CHECK(err_code); }