application: minor, fix printing

This commit is contained in:
King Kévin 2020-12-11 21:01:11 +01:00
parent 05ad975fe7
commit f48408ba7a
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ void main(void)
}
}
if (sensor_sr04_distance) { // distance measurement is available
printf("%u\n", sensor_sr04_distance); // start measurement
printf("distance: %u mm\n", sensor_sr04_distance); // start measurement
sensor_sr04_distance = 0; // clear flag
}
if (action) { // go to sleep if nothing had to be done, else recheck for activity