diff options
| author | Evan Lojewski <github@meklort.com> | 2021-06-19 09:29:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 09:29:21 -0600 |
| commit | 7d01dd87e833bc5372aaae6c0eb8bc982ac6a419 (patch) | |
| tree | 4e0615838684ca95bbe4e4d276f12fb2cfb25f57 /libs/Network | |
| parent | 23590ad82730c9304cc58f5e1a649ab909e1cf28 (diff) | |
| download | bcm5719-ortega-7d01dd87e833bc5372aaae6c0eb8bc982ac6a419.tar.gz bcm5719-ortega-7d01dd87e833bc5372aaae6c0eb8bc982ac6a419.zip | |
build: Update various support files with codacy recommendations. (#227)
Diffstat (limited to 'libs/Network')
| -rw-r--r-- | libs/Network/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Network/tx.c b/libs/Network/tx.c index 67ceaf0..d626d98 100644 --- a/libs/Network/tx.c +++ b/libs/Network/tx.c @@ -401,7 +401,7 @@ static uint32_t inline Network_TX_initAdditionalPassthroughBlock(RegTX_PORTOut_t static void drainPassthroughBytes(uint32_t bytes) { - printf("Dropping %d bytes\n", bytes); + printf("Dropping %u bytes\n", bytes); // Drain any passthrough bytes to ensure that the NCSI input buffers are not locked up. int num_words = DIVIDE_RND_UP(bytes, sizeof(uint32_t)) + 1; // +1 for FCS word. for (int i = 0; i < num_words; i++) |

