Skip to content

Commit

Permalink
get rid of pesky error messages like with pressure driver
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Jun 3, 2024
1 parent c234a51 commit 5f65a2b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/sensors/core/tasks/capacitive_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,6 @@ class FDC1004 {
if (sensor_buffer_index < SENSOR_BUFFER_SIZE) {
(*p_buff).at(sensor_buffer_index) = capacitance;
sensor_buffer_index++;
} else {
can_client.send_can_message(
can::ids::NodeId::host,
can::messages::ErrorMessage{
.message_index = 0,
.severity = can::ids::ErrorSeverity::warning,
.error_code = can::ids::ErrorCode::stop_requested});
}
#else
can_client.send_can_message(
Expand Down

0 comments on commit 5f65a2b

Please sign in to comment.