Skip to content

Commit

Permalink
Actuators/Torqeedo: Reduced logbook clutter.
Browse files Browse the repository at this point in the history
  • Loading branch information
luis109 committed Nov 27, 2024
1 parent 609194a commit 44ea52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actuators/Torqeedo/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ namespace Actuators
fp32_t temp = fp32_t(temp_raw) * 0.1;
int16_t rpm = (int16_t)rpm_raw / 7; // Rounds down to nearest whole number

inf("MSG_TQ_MOTOR_DRIVE: Motor#%d - Power: %dW; Temp %0.1fC; RPM: %d",
debug("MSG_TQ_MOTOR_DRIVE: Motor#%d - Power: %dW; Temp %0.1fC; RPM: %d",
mot_idx, power, temp, rpm);

IMC::Temperature temp_msg;
Expand Down Expand Up @@ -642,7 +642,7 @@ namespace Actuators
m_can_bfr[2] = (char)(motor1 & 0x00FF);
m_can_bfr[3] = (char)((motor1 & 0xFF00) >> 8);

inf(DTR("CAN_MOTOR_MSG_SENT: %d, %d"), motor0, motor1);
debug(DTR("CAN_MOTOR_MSG_SENT: %d, %d"), motor0, motor1);

m_can->setTXID(prepareTorqeedoCANID(MSG_TQ_MOTOR_SET));
m_can->write(m_can_bfr, 4);
Expand Down

0 comments on commit 44ea52b

Please sign in to comment.