1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/nimble_hrs: fix buidling w/o DEVELHELP

This commit is contained in:
Hauke Petersen 2019-12-16 10:53:58 +01:00
parent 5a92be24d6
commit b5a197c3ef

View File

@ -286,6 +286,7 @@ static void _hr_update(event_t *e)
assert(om != NULL);
int res = ble_gattc_notify_custom(_conn_handle, _hrs_val_handle, om);
assert(res == 0);
(void)res;
/* schedule next update event */
event_timeout_set(&_update_timeout_evt, UPDATE_INTERVAL);
@ -296,6 +297,7 @@ int main(void)
puts("NimBLE Heart Rate Sensor Example");
int res = 0;
(void)res;
/* setup local event queue (for handling heart rate updates) */
event_queue_init(&_eq);