From f310e26c8e26f976c84787dec60a5855644c4cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Tu=C4=8Dek?= Date: Sun, 31 Mar 2019 21:35:26 +0200 Subject: [PATCH] fix wrong type --- right/src/macros.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right/src/macros.c b/right/src/macros.c index b30bad8..2a4201d 100644 --- a/right/src/macros.c +++ b/right/src/macros.c @@ -218,7 +218,7 @@ void deleteSystemScancode(uint8_t scancode) } } -void addScancode(uint16_t scancode, macro_sub_action_t type) +void addScancode(uint16_t scancode, keystroke_type_t type) { switch (type) { case KeystrokeType_Basic: @@ -233,7 +233,7 @@ void addScancode(uint16_t scancode, macro_sub_action_t type) } } -void deleteScancode(uint16_t scancode, macro_sub_action_t type) +void deleteScancode(uint16_t scancode, keystroke_type_t type) { switch (type) { case KeystrokeType_Basic: