Update changelog

This commit is contained in:
MX
2023-02-28 07:05:55 +03:00
parent caa4ba67d6
commit 75a8f0a7b4
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -165,7 +165,8 @@ static void hc_sr04_measure(PluginState* const plugin_state) {
//FURI_CRITICAL_EXIT();
plugin_state->echo = (pulse_end - pulse_start) / furi_hal_cortex_instructions_per_microsecond();
plugin_state->echo =
(pulse_end - pulse_start) / furi_hal_cortex_instructions_per_microsecond();
plugin_state->distance = hc_sr04_us_to_m(plugin_state->echo);
plugin_state->measurement_made = true;