diff options
Diffstat (limited to 'common/print.c')
| -rw-r--r-- | common/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/print.c b/common/print.c index d8a899b40..84400a1df 100644 --- a/common/print.c +++ b/common/print.c | |||
| @@ -138,7 +138,7 @@ void print_hex32(uint32_t data) | |||
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | 140 | ||
| 141 | void print_bin(uint8_t data) | 141 | void print_bin8(uint8_t data) |
| 142 | { | 142 | { |
| 143 | for (int i = 7; i >= 0; i--) { | 143 | for (int i = 7; i >= 0; i--) { |
| 144 | sendchar((data & (1<<i)) ? '1' : '0'); | 144 | sendchar((data & (1<<i)) ? '1' : '0'); |
