From 71499a7209b6038cfc94acb9f22e793c87a61cfc Mon Sep 17 00:00:00 2001 From: Christ van Willegen Date: Fri, 24 May 2024 13:17:49 +0200 Subject: [PATCH] Fix compiler printf() format feedback. --- esphome/components/stepper/stepper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/stepper/stepper.h b/esphome/components/stepper/stepper.h index 3009286947..084deaab40 100644 --- a/esphome/components/stepper/stepper.h +++ b/esphome/components/stepper/stepper.h @@ -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: