فهرست منبع

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot 1 سال پیش
والد
کامیت
e0feb2a29a
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      keyboards/inland/kb83/kb83.c

+ 1 - 5
keyboards/inland/kb83/kb83.c

@@ -313,11 +313,7 @@ bool dip_switch_update_kb(uint8_t index, bool active) {
         return false;
     }
     if (index == 0) {
-        default_layer_set(1UL << (active ? 2 : 0));
-    }
-    if(active){
-        keymap_config.no_gui = 0;
-        eeconfig_update_keymap(&keymap_config);
+        default_layer_set(1UL << (active ? MAC_B : WIN_B));
     }
     return true;
 }