diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-10 10:36:09 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-13 16:00:29 +0300 |
commit | 109ae2f1e889a2450a98da41f17956c8ce9b79da (patch) | |
tree | c925d9363f8b0408c43c12a7e4fd5aa95d924c30 /quantum/process_keycode/process_printer_bb.c | |
parent | a619b93e38c9d8dff86d5276ff9e549797045f3a (diff) | |
download | qmk_firmware-109ae2f1e889a2450a98da41f17956c8ce9b79da.tar.gz qmk_firmware-109ae2f1e889a2450a98da41f17956c8ce9b79da.zip |
Fix warnings in process_printer
Diffstat (limited to 'quantum/process_keycode/process_printer_bb.c')
-rw-r--r-- | quantum/process_keycode/process_printer_bb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_printer_bb.c b/quantum/process_keycode/process_printer_bb.c index 55d3b552b..3a00f169d 100644 --- a/quantum/process_keycode/process_printer_bb.c +++ b/quantum/process_keycode/process_printer_bb.c | |||
@@ -46,7 +46,7 @@ void serial_output(void) { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | 48 | ||
49 | void enabled_printing() { | 49 | void enable_printing() { |
50 | printing_enabled = true; | 50 | printing_enabled = true; |
51 | serial_output(); | 51 | serial_output(); |
52 | serial_high(); | 52 | serial_high(); |
@@ -82,7 +82,7 @@ void print_string(char c[]) { | |||
82 | 82 | ||
83 | bool process_printer(uint16_t keycode, keyrecord_t *record) { | 83 | bool process_printer(uint16_t keycode, keyrecord_t *record) { |
84 | if (keycode == PRINT_ON) { | 84 | if (keycode == PRINT_ON) { |
85 | enabled_printing(); | 85 | enable_printing(); |
86 | return false; | 86 | return false; |
87 | } | 87 | } |
88 | if (keycode == PRINT_OFF) { | 88 | if (keycode == PRINT_OFF) { |