From b5a197c3efde55b474f945f3c66a26dd90647aad Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Mon, 16 Dec 2019 10:53:58 +0100 Subject: [PATCH] examples/nimble_hrs: fix buidling w/o DEVELHELP --- examples/nimble_heart_rate_sensor/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/nimble_heart_rate_sensor/main.c b/examples/nimble_heart_rate_sensor/main.c index 2849c5f474..d45492c639 100644 --- a/examples/nimble_heart_rate_sensor/main.c +++ b/examples/nimble_heart_rate_sensor/main.c @@ -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);