Skip to content

Commit 726e11e

Browse files
committed
fix: [smap] Remove parentheses in debug output that cause it to not actually call
1 parent c223536 commit 726e11e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

iop/network/smap/src/smap.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,9 @@ void SMAPOutputDebugInformation(void)
912912
rx_bd[i].pointer != 0 ||
913913
i == bdidx) {
914914
if (i == bdidx)
915-
DEBUG_PRINTF()
916-
(" - rx_bd[%d]: 0x%x / 0x%x / %d / 0x%x <--\n", i, rx_bd[i].ctrl_stat, rx_bd[i].reserved, rx_bd[i].length, rx_bd[i].pointer);
915+
DEBUG_PRINTF(" - rx_bd[%d]: 0x%x / 0x%x / %d / 0x%x <--\n", i, rx_bd[i].ctrl_stat, rx_bd[i].reserved, rx_bd[i].length, rx_bd[i].pointer);
917916
else
918-
DEBUG_PRINTF()
919-
(" - rx_bd[%d]: 0x%x / 0x%x / %d / 0x%x\n", i, rx_bd[i].ctrl_stat, rx_bd[i].reserved, rx_bd[i].length, rx_bd[i].pointer);
917+
DEBUG_PRINTF(" - rx_bd[%d]: 0x%x / 0x%x / %d / 0x%x\n", i, rx_bd[i].ctrl_stat, rx_bd[i].reserved, rx_bd[i].length, rx_bd[i].pointer);
920918
}
921919
}
922920

0 commit comments

Comments
 (0)