@@ -162,8 +162,8 @@ long unsigned int _buildHeader(uint8_t messageId, uint8_t totalPartCount, uint8_
162
162
header += toAddress;// set destination address
163
163
header = header << 8 ;
164
164
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,
167
167
currentPartNumber, toAddress, fromAddress);
168
168
return header;
169
169
}
@@ -228,7 +228,7 @@ bool transportDataAvailable(void)
228
228
long unsigned int totalPartCount = (rxId & 0x00F00000 ) >> 20 ;
229
229
long unsigned int messageId = (rxId & 0x07000000 ) >> 24 ;
230
230
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,
232
232
totalPartCount,
233
233
currentPart, to, from);
234
234
CAN_DEBUG (PSTR (" CAN:RCV:LN=%" PRIu8 " ,DTA0=%" PRIu8 " ,DTA1=%" PRIu8 " ,DTA2=%" PRIu8 " ,DTA3=%" PRIu8
0 commit comments