From 5a833f1b337c3f05ea369947a2aee231c90dd531 Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Thu, 8 Feb 2024 14:53:15 -0500 Subject: [PATCH] was sending the data too slow --- include/sensors/core/tasks/pressure_driver.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sensors/core/tasks/pressure_driver.hpp b/include/sensors/core/tasks/pressure_driver.hpp index 741c894cb..89981499f 100644 --- a/include/sensors/core/tasks/pressure_driver.hpp +++ b/include/sensors/core/tasks/pressure_driver.hpp @@ -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; } }