Skip to content

Commit

Permalink
was sending the data too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Feb 8, 2024
1 parent 672baed commit 5a833f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sensors/core/tasks/pressure_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class MMR920C04 {
.sensor_id = sensor_id,
.sensor_data =
mmr920C04::reading_to_fixed_point((*p_buff)[i])});
if (i%10 == 0) { vTaskDelay(100); } // slow it down so the can buffer doesn't choke
if (i%10 == 0) { vTaskDelay(50); } // slow it down so the can buffer doesn't choke
(*p_buff)[i] = 0;
}
}
Expand Down

0 comments on commit 5a833f1

Please sign in to comment.