summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_printer_bb.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-10 09:36:09 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-04-13 15:00:29 +0200
commit109ae2f1e889a2450a98da41f17956c8ce9b79da (patch)
treec925d9363f8b0408c43c12a7e4fd5aa95d924c30 /quantum/process_keycode/process_printer_bb.c
parenta619b93e38c9d8dff86d5276ff9e549797045f3a (diff)
downloadqmk_firmware-109ae2f1e889a2450a98da41f17956c8ce9b79da.tar.gz
qmk_firmware-109ae2f1e889a2450a98da41f17956c8ce9b79da.tar.xz
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) {
}
-void enabled_printing() {
+void enable_printing() {
printing_enabled = true;
serial_output();
serial_high();
@@ -82,7 +82,7 @@ void print_string(char c[]) {
bool process_printer(uint16_t keycode, keyrecord_t *record) {
if (keycode == PRINT_ON) {
- enabled_printing();
+ enable_printing();
return false;
}
if (keycode == PRINT_OFF) {