Skip to content

Commit

Permalink
pr review fix and format
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed May 28, 2024
1 parent 81c6afd commit 54389b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/common/core/sensor_buffer.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#if defined(USE_SENSOR_MOVE)
#ifdef USE_SENSOR_MOVE
constexpr size_t SENSOR_BUFFER_SIZE = P_BUFF_SIZE;
#else
constexpr size_t SENSOR_BUFFER_SIZE = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,8 @@ class MotorInterruptHandler {
build_and_send_ack(ack_msg_id);
#ifdef USE_SENSOR_MOVE
if (buffered_move.sensor_id != can::ids::SensorId::UNUSED) {
auto binding =
static_cast<uint8_t>(can::ids::SensorOutputBinding::sync); // make none?!
auto binding = static_cast<uint8_t>(
can::ids::SensorOutputBinding::sync); // make none?!
if (buffered_move.sensor_id == can::ids::SensorId::BOTH) {
send_bind_message(buffered_move.sensor_type,
can::ids::SensorId::S0, binding);
Expand Down

0 comments on commit 54389b7

Please sign in to comment.