summaryrefslogtreecommitdiffstats
path: root/keyboards/rate/pistachio_mp/keymaps
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-04-09 22:41:32 +1000
committerGitHub <noreply@github.com>2023-04-09 13:41:32 +0100
commit5d6d9594212073ca52b80a1a949510187af47b13 (patch)
tree6dec049b0a1a0f6ec4ac2869000c0c6b8ea55e78 /keyboards/rate/pistachio_mp/keymaps
parent441988ef3895171d640e807205e7978ff9755acd (diff)
Fix up via keymap builds. (#20383)
* Fix up via keymap builds. - Usages of old IS_PRESSED. * Fix up bad code. * Fix up bad code.
Diffstat (limited to 'keyboards/rate/pistachio_mp/keymaps')
-rw-r--r--keyboards/rate/pistachio_mp/keymaps/via/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/rate/pistachio_mp/keymaps/via/keymap.c b/keyboards/rate/pistachio_mp/keymaps/via/keymap.c
index bee139ac93..f459a76970 100644
--- a/keyboards/rate/pistachio_mp/keymaps/via/keymap.c
+++ b/keyboards/rate/pistachio_mp/keymaps/via/keymap.c
@@ -100,7 +100,7 @@ void encoder_action_register(uint8_t index, bool clockwise) {
keyevent_t encoder_event = (keyevent_t) {
.key = clockwise ? ENC_CW : ENC_CCW,
.pressed = true,
- .time = timer_read()
+ .time = timer_read(),
.type = KEY_EVENT
};
encoder_state = (clockwise ^ 1) | (clockwise << 1);