1
0
Fork 0

Fix warnings in process_printer

This commit is contained in:
Fred Sundvik 2017-04-10 10:36:09 +03:00
parent a619b93e38
commit 109ae2f1e8
3 changed files with 15 additions and 13 deletions

View file

@ -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) {