[fix] code

This commit is contained in:
stijn
2021-04-06 15:47:50 +02:00
parent 6b6657fe5d
commit 45ee9dc411
14 changed files with 1949 additions and 1979 deletions

View File

@@ -96,6 +96,6 @@ void set_value_trigger_event(void (*value_set_event_p)(uint16_t)){
float ultrasonic_get_timer_dist()
{
return timer_dist * (float)(340 / 2.0);
return (float)(timer_dist * (340 / 2.0));
}