diff options
| author | tmk <nobody@nowhere> | 2012-11-23 12:33:42 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-11-23 12:33:42 +0900 |
| commit | 6caefe9649d88673719e969502d220c5e9dcd124 (patch) | |
| tree | 332455746dd60b60d18f5eec39487f96192fe330 /common/print.c | |
| parent | 613fdb24fcdb4f8920f0d344cad5800d343f535c (diff) | |
| download | qmk_firmware-6caefe9649d88673719e969502d220c5e9dcd124.tar.gz qmk_firmware-6caefe9649d88673719e969502d220c5e9dcd124.zip | |
Fixes from Tranquilite@GH.
- Fix keyboard_task() when matrix column size > 16
- Add clear_keyboard() in NKRO command to avoid stucking keys.
- Fix function name in print.c.
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'); |
