~ruther/qmk_firmware

d4dc2a577fbf6de948336288c6ca12359b48e50b — Sergey Vlasov 5 years ago 92839f8
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).
1 files changed, 1 insertions(+), 1 deletions(-)

M keyboards/keebio/quefrency/rev1/config.h
M keyboards/keebio/quefrency/rev1/config.h => keyboards/keebio/quefrency/rev1/config.h +1 -1
@@ 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