Fixing default ErgoDox layout and adding FlashMode button
- Adds proper flashMode support for all keyboards and microcontrollers (usb and serial) - flashModeEnabled must be set to 1 otherwise it will only show an error * This is on purpose (somewhat dangerous feature as it allows remote flashing) - Capability cleanup
This commit is contained in:
parent
1cbc175551
commit
9c52fb32fa
11 changed files with 148 additions and 62 deletions
|
@ -484,6 +484,19 @@ void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *a
|
|||
}
|
||||
}
|
||||
|
||||
void Output_flashMode_capability( uint8_t state, uint8_t stateType, uint8_t *args )
|
||||
{
|
||||
// Display capability name
|
||||
if ( stateType == 0xFF && state == 0xFF )
|
||||
{
|
||||
print("Output_flashMode(usbCode)");
|
||||
return;
|
||||
}
|
||||
|
||||
// Start flash mode
|
||||
Output_firmwareReload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ----- Functions -----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue