Browse Source

Quefrency rev1: Fix default VIA layout options (#9618)

Apparently VIA allocates bits in the layout options field from the
lowest bit, but starting from the **last** option defined in the JSON
file.  So the default value 0x06 was actually trying to set the value
`3` (`0b11`) for the second-to-last option ("Right Shift"), which had
only 3 values defined, and the attempt to set an undefined option value
caused the VIA app to hang with a black window.

Fix the default layout options so that it works as intended (the
"Macropad" and "65% Column" options are set).
Sergey Vlasov 5 năm trước cách đây
mục cha
commit
d4dc2a577f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      keyboards/keebio/quefrency/rev1/config.h

+ 1 - 1
keyboards/keebio/quefrency/rev1/config.h

@@ -57,4 +57,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define RGBLED_NUM 16    // Number of LEDs
 
 // Set 65% column (option 1) and Macro (option 2) on by default
-#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x06
+#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x60