aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_printer_bb.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-10 10:36:09 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-13 16:00:29 +0300
commit109ae2f1e889a2450a98da41f17956c8ce9b79da (patch)
treec925d9363f8b0408c43c12a7e4fd5aa95d924c30 /quantum/process_keycode/process_printer_bb.c
parenta619b93e38c9d8dff86d5276ff9e549797045f3a (diff)
downloadqmk_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.c4
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
49void enabled_printing() { 49void 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
83bool process_printer(uint16_t keycode, keyrecord_t *record) { 83bool 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) {