X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Faction_layer.h;h=6e2f35d90d1185ddd249c4c16e2d8fc17e986b78;hb=0f0062b4929b4598aa45d5aeb20d4678b4e06d37;hp=f1551d2519018898680eacf06d21d25aeaf3bb07;hpb=47c91fc7f75ae0a477e55b687aa0fc30da0a283c;p=qmk_firmware.git diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index f1551d251..6e2f35d90 100644 --- a/tmk_core/common/action_layer.h +++ b/tmk_core/common/action_layer.h @@ -97,7 +97,7 @@ uint8_t read_source_layers_cache(keypos_t key); action_t store_or_get_action(bool pressed, keypos_t key); /* return the topmost non-transparent layer currently associated with key */ -int8_t layer_switch_get_layer(keypos_t key); +uint8_t layer_switch_get_layer(keypos_t key); /* return action depending on current layer status */ action_t layer_switch_get_action(keypos_t key);