diff options
Diffstat (limited to 'watch-library/hal/src')
-rw-r--r-- | watch-library/hal/src/hal_adc_sync.c | 1 | ||||
-rw-r--r-- | watch-library/hal/src/hal_calendar.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/watch-library/hal/src/hal_adc_sync.c b/watch-library/hal/src/hal_adc_sync.c index 33e0d929..8d2e872e 100644 --- a/watch-library/hal/src/hal_adc_sync.c +++ b/watch-library/hal/src/hal_adc_sync.c @@ -55,6 +55,7 @@ int32_t adc_sync_init(struct adc_sync_descriptor *const descr, void *const hw, void *const func) { ASSERT(descr && hw); + (void)func; return _adc_sync_init(&descr->device, hw); } diff --git a/watch-library/hal/src/hal_calendar.c b/watch-library/hal/src/hal_calendar.c index 842cfb88..68cb7286 100644 --- a/watch-library/hal/src/hal_calendar.c +++ b/watch-library/hal/src/hal_calendar.c @@ -243,6 +243,8 @@ static void calibrate_timestamp(struct calendar_descriptor *const calendar, stru uint32_t alarm_ts; uint32_t current_ts = current_dt->cal_alarm.timestamp; + (void)calendar; + alarm_ts = alarm->cal_alarm.timestamp; /* calibrate timestamp */ |