Fix compiler printf() format feedback.

This commit is contained in:
Christ van Willegen 2024-05-24 13:17:49 +02:00
parent 13d470a3bc
commit 71499a7209

View File

@ -11,7 +11,7 @@ namespace stepper {
ESP_LOGCONFIG(TAG, " Acceleration: %.0f steps/s^2", this->acceleration_); \
ESP_LOGCONFIG(TAG, " Deceleration: %.0f steps/s^2", this->deceleration_); \
ESP_LOGCONFIG(TAG, " Max Speed: %.0f steps/s", this->max_speed_); \
ESP_LOGCONFIG(TAG, " Rotation: %s", this->rotation_);
ESP_LOGCONFIG(TAG, " Rotation: %d", this->rotation_);
class Stepper {
public: