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).
			
			
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user