comparison Output/uartOut/output_com.c @ 370:39e338a6733d

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
author Jacob Alexander <haata@kiibohd.com>
date Fri, 21 Aug 2015 19:43:45 -0700
parents ab4515606277
children
comparison
equal deleted inserted replaced
369:ce9720634c15 370:39e338a6733d
127 print("Not used in uartOut..."); 127 print("Not used in uartOut...");
128 return; 128 return;
129 } 129 }
130 } 130 }
131 131
132 void Output_flashMode_capability( uint8_t state, uint8_t stateType, uint8_t *args )
133 {
134 // Display capability name
135 if ( stateType == 0xFF && state == 0xFF )
136 {
137 print("Output_flashMode(usbCode)");
138 return;
139 }
140
141 // Start flash mode
142 Output_firmwareReload();
143 }
144
132 145
133 146
134 // ----- Functions ----- 147 // ----- Functions -----
135 148
136 // USB Module Setup 149 // USB Module Setup