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:
parent
5a92be24d6
commit
b5a197c3ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user