fix warning re: buffer overrun
This commit is contained in:
parent
32c6974c0f
commit
91b436237a
@ -282,7 +282,7 @@ static void update(accelerometer_data_acquisition_state_t *state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void update_settings(accelerometer_data_acquisition_state_t *state) {
|
static void update_settings(accelerometer_data_acquisition_state_t *state) {
|
||||||
char buf[12];
|
char buf[13];
|
||||||
watch_clear_colon();
|
watch_clear_colon();
|
||||||
if (state->beep_with_countdown) watch_set_indicator(WATCH_INDICATOR_BELL);
|
if (state->beep_with_countdown) watch_set_indicator(WATCH_INDICATOR_BELL);
|
||||||
else watch_clear_indicator(WATCH_INDICATOR_BELL);
|
else watch_clear_indicator(WATCH_INDICATOR_BELL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user