CPPCHECK fixes for printf issues
Fix for following CPPCheck warnings - invalidPrintfArgType Rebased with latest develop branch w21. Reverted modifications unrelated to printf issues.
This commit is contained in:
@@ -1106,7 +1106,7 @@ extern "C"
|
||||
|
||||
if(instance->mac->tick == 1000) {
|
||||
if(instance->mac->byte_count > 0) {
|
||||
printf("[MAC] Rx rate %d bytes/sec\n", instance->mac->byte_count);
|
||||
printf("[MAC] Rx rate %u bytes/sec\n", instance->mac->byte_count);
|
||||
instance->mac->byte_count = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user