Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Aug 2, 2024
1 parent cd326d3 commit 731bc97
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/sensors/core/sensor_hardware_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ class SensorHardwareSyncControlSingleton {
[[nodiscard]] auto mask_satisfied() const -> bool {
if (set_sync_required_mask !=
static_cast<uint8_t>(SensorIdBitMask::UNUSED)) {
printf("%x is required\n", set_sync_required_mask);
printf("%x sync_state_mask\n", sync_state_mask);
// if anything is "required" only sync when they are all triggered
return (sync_state_mask & set_sync_required_mask) ==
set_sync_required_mask;
Expand All @@ -70,7 +68,6 @@ class SensorHardwareSyncControlSingleton {

auto set_sync(can::ids::SensorId sensor) -> void {
// force the bit for this sensor to 1
printf("setting sync on %x sensor\n", get_mask_from_id(sensor));
sync_state_mask |= get_mask_from_id(sensor);
}

Expand Down

0 comments on commit 731bc97

Please sign in to comment.