summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action.h
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-27 23:50:07 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-27 23:51:46 +0200
commitb4f442dfeaf4d434ae0d8459dc5199cd8fefc1c7 (patch)
tree905233e4f29dddde1348b8d9a30ef46ee0b0e775 /tmk_core/common/action.h
parenta5cdc3aab1c430916eae66d4d9d751808613e700 (diff)
downloadqmk_firmware-b4f442dfeaf4d434ae0d8459dc5199cd8fefc1c7.tar.gz
qmk_firmware-b4f442dfeaf4d434ae0d8459dc5199cd8fefc1c7.tar.xz
Cut the memory consumption of PREVENT_STUCK_MODIFIERS in half
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r--tmk_core/common/action.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h
index 7a60f320e..2b43d001e 100644
--- a/tmk_core/common/action.h
+++ b/tmk_core/common/action.h
@@ -61,7 +61,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt);
/* Utilities for actions. */
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
extern bool disable_action_cache;
-extern action_t pressed_actions_cache[MATRIX_ROWS][MATRIX_COLS];
+extern int8_t pressed_actions_cache[MATRIX_ROWS][MATRIX_COLS];
#endif
void process_action_nocache(keyrecord_t *record);
void process_action(keyrecord_t *record);