mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 18:35:59 +01:00
Correct message for standard transmission. (#5088)
This commit is contained in:
parent
ec37dece12
commit
6d9dbf9e54
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ void Canbus::send_data(uint32_t can_id, bool use_extended_id, bool remote_transm
|
||||||
if (use_extended_id) {
|
if (use_extended_id) {
|
||||||
ESP_LOGD(TAG, "send extended id=0x%08x rtr=%s size=%d", can_id, TRUEFALSE(remote_transmission_request), size);
|
ESP_LOGD(TAG, "send extended id=0x%08x rtr=%s size=%d", can_id, TRUEFALSE(remote_transmission_request), size);
|
||||||
} else {
|
} else {
|
||||||
ESP_LOGD(TAG, "send extended id=0x%03x rtr=%s size=%d", can_id, TRUEFALSE(remote_transmission_request), size);
|
ESP_LOGD(TAG, "send standard id=0x%03x rtr=%s size=%d", can_id, TRUEFALSE(remote_transmission_request), size);
|
||||||
}
|
}
|
||||||
if (size > CAN_MAX_DATA_LENGTH)
|
if (size > CAN_MAX_DATA_LENGTH)
|
||||||
size = CAN_MAX_DATA_LENGTH;
|
size = CAN_MAX_DATA_LENGTH;
|
||||||
|
|
Loading…
Reference in a new issue