summaryrefslogtreecommitdiff
path: root/keyboards/minimacro5
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minimacro5')
-rw-r--r--keyboards/minimacro5/config.h1
-rw-r--r--keyboards/minimacro5/keymaps/devdev/keymap.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/minimacro5/config.h b/keyboards/minimacro5/config.h
index e839fea224..2dcc91f7ce 100644
--- a/keyboards/minimacro5/config.h
+++ b/keyboards/minimacro5/config.h
@@ -42,7 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//speed for double tap
#define TAPPING_TERM 200
-#define UNUSED_PINS
/* rotary encoder 1,2,3 closest to usb port is 0*/
#define ENCODERS_PAD_B { D3, F6, F7, D4, C6}
diff --git a/keyboards/minimacro5/keymaps/devdev/keymap.c b/keyboards/minimacro5/keymaps/devdev/keymap.c
index d7f998fa3a..3c203fcc37 100644
--- a/keyboards/minimacro5/keymaps/devdev/keymap.c
+++ b/keyboards/minimacro5/keymaps/devdev/keymap.c
@@ -37,7 +37,7 @@ enum tap_dances{
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder*/
- switch(biton32(layer_state)){
+ switch(get_highest_layer(layer_state)){
case _MAIN:
if (clockwise) {
tap_code(KC_VOLU);