mirror of
https://github.com/esphome/esphome.git
synced 2024-12-17 19:04:54 +01:00
[remote_base] Fix extra comma in dump raw (#7774)
Co-authored-by: Jonathan Swoboda <jonathan.swoboda>
This commit is contained in:
parent
4fc19902ab
commit
372d68a177
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ bool RawDumper::dump(RemoteReceiveData src) {
|
|||
ESP_LOGI(TAG, "%s", buffer);
|
||||
buffer_offset = 0;
|
||||
written = sprintf(buffer, " ");
|
||||
if (i + 1 < src.size()) {
|
||||
if (i + 1 < src.size() - 1) {
|
||||
written += sprintf(buffer + written, "%" PRId32 ", ", value);
|
||||
} else {
|
||||
written += sprintf(buffer + written, "%" PRId32, value);
|
||||
|
|
Loading…
Reference in a new issue