Auto stash before merge of "main" and "origin/main"

This commit is contained in:
stijn
2021-04-06 15:20:00 +02:00
parent 70c0079e7f
commit bb312853d6
11 changed files with 2056 additions and 1595 deletions

View File

@@ -94,8 +94,8 @@ void set_value_trigger_event(void (*value_set_event_p)(uint16_t)){
value_set_event = value_set_event_p;
}
uint16_t ultrasonic_get_timer_dist()
float ultrasonic_get_timer_dist()
{
return timer_dist * (340 / 2);
return timer_dist * (float)(340 / 2.0);
}