summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_auto_shift.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_auto_shift.c')
-rw-r--r--quantum/process_keycode/process_auto_shift.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/quantum/process_keycode/process_auto_shift.c b/quantum/process_keycode/process_auto_shift.c
index 5970242263..cba2dcd2dd 100644
--- a/quantum/process_keycode/process_auto_shift.c
+++ b/quantum/process_keycode/process_auto_shift.c
@@ -16,9 +16,9 @@
#ifdef AUTO_SHIFT_ENABLE
-#include <stdio.h>
+# include <stdio.h>
-#include "process_auto_shift.h"
+# include "process_auto_shift.h"
static bool autoshift_enabled = true;
static uint16_t autoshift_time = 0;
@@ -34,7 +34,7 @@ void autoshift_timer_report(void) {
}
void autoshift_on(uint16_t keycode) {
- autoshift_time = timer_read();
+ autoshift_time = timer_read();
autoshift_lastkey = keycode;
}
@@ -54,9 +54,7 @@ void autoshift_flush(void) {
}
-void autoshift_enable(void) {
- autoshift_enabled = true;
-}
+void autoshift_enable(void) { autoshift_enabled = true; }
void autoshift_disable(void) {
autoshift_enabled = false;
autoshift_flush();