diff --git a/esphome/components/remote_base/beo4_protocol.cpp b/esphome/components/remote_base/beo4_protocol.cpp index 9f8d5e72c9..8f5a642401 100644 --- a/esphome/components/remote_base/beo4_protocol.cpp +++ b/esphome/components/remote_base/beo4_protocol.cpp @@ -1,6 +1,8 @@ #include "beo4_protocol.h" #include "esphome/core/log.h" +#include + namespace esphome { namespace remote_base { @@ -81,7 +83,7 @@ optional Beo4Protocol::decode(RemoteReceiveData src) { int32_t jc = 0; uint32_t pre_bit = 0; uint32_t cnt_bit = 0; - ESP_LOGD(TAG, "Beo4: n_sym=%d ", n_sym); + ESP_LOGD(TAG, "Beo4: n_sym=%" PRId32, n_sym); for (jc = 0, ic = 0; ic < (n_sym - 1); ic += 2, jc++) { int32_t pulse_width = src[ic] - src[ic + 1]; // suppress TSOP7000 (dummy pulses)