Skip to content

Commit 77ee9e5

Browse files
committed
Fix logs
1 parent 86a3679 commit 77ee9e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hal/transport/CAN/MyTransportCAN.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ long unsigned int _buildHeader(uint8_t messageId, uint8_t totalPartCount, uint8_
162162
header += toAddress;//set destination address
163163
header = header << 8;
164164
header += fromAddress;//set source address
165-
CAN_DEBUG(PSTR("CAN:SND:CANH=%" PRIu32 ",ID=%" PRIu8
166-
",TOTAL=%"PRIu8",CURR=%"PRIu8",TO=%"PRIu8",FROM=%"PRIu8"\n"), header, messageId, totalPartCount,
165+
CAN_DEBUG(PSTR("CAN:SND:CANH=%" PRIu32 ",ID=%" PRIu8
166+
",TOTAL=%" PRIu8 ",CURR=%" PRIu8 ",TO=%" PRIu8 ",FROM=%" PRIu8 "\n"), header, messageId, totalPartCount,
167167
currentPartNumber, toAddress, fromAddress);
168168
return header;
169169
}
@@ -228,7 +228,7 @@ bool transportDataAvailable(void)
228228
long unsigned int totalPartCount = (rxId & 0x00F00000) >> 20;
229229
long unsigned int messageId = (rxId & 0x07000000) >> 24;
230230
CAN_DEBUG(PSTR("CAN:RCV:CANH=%" PRIu32 ",ID=%" PRIu32
231-
",TOTAL=%"PRIu32",CURR=%"PRIu32",TO=%"PRIu32",FROM=%"PRIu32"\n"), rxId, messageId,
231+
",TOTAL=%" PRIu32 ",CURR=%" PRIu32 ",TO=%" PRIu32 ",FROM=%" PRIu32 "\n"), rxId, messageId,
232232
totalPartCount,
233233
currentPart, to, from);
234234
CAN_DEBUG(PSTR("CAN:RCV:LN=%" PRIu8 ",DTA0=%" PRIu8 ",DTA1=%" PRIu8 ",DTA2=%" PRIu8 ",DTA3=%" PRIu8

0 commit comments

Comments
 (0)