Skip to content

Commit

Permalink
replace vtaskdelay with hardware_delay function
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Jul 8, 2024
1 parent dcdbfe7 commit 681fb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sensors/core/tasks/capacitive_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class FDC1004 {
(*sensor_buffer).at(i), S15Q16_RADIX)});
if (i % 10 == 0) {
// slow it down so the can buffer doesn't choke
vTaskDelay(50);
vtask_hardware_delay(50);
}
(*sensor_buffer).at(i) = 0;
}
Expand Down

0 comments on commit 681fb79

Please sign in to comment.