diff options
author | tmk <nobody@nowhere> | 2013-06-22 16:14:56 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-06-22 16:24:56 +0900 |
commit | 9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (patch) | |
tree | 5cfd02ffd53d5be7c40453644558319f75b48fa8 /common/action_layer.c | |
parent | 2593ae132812414f02e7cf483bb141cd2c78595c (diff) |
Add default layer config to bootmagic
Diffstat (limited to 'common/action_layer.c')
-rw-r--r-- | common/action_layer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/action_layer.c b/common/action_layer.c index d24aa2e19f..526e24d539 100644 --- a/common/action_layer.c +++ b/common/action_layer.c @@ -30,9 +30,9 @@ void default_layer_debug(void) dprintf("%08lX(%u)", default_layer_state, biton32(default_layer_state)); } -void default_layer_set(uint8_t layer) +void default_layer_set(uint32_t state) { - default_layer_state_set(1UL<<layer); + default_layer_state_set(state); } #ifndef NO_ACTION_LAYER |