comparison Output/usbMuxUart/output_com.c @ 340:e8841d3c6db5

mk20dx256vlh7 working! - Interrupt vector table position fix (affected everything in the firmware) - Added fault debug messages - Fixed usbMuxUart
author Jacob Alexander <haata@kiibohd.com>
date Sat, 13 Jun 2015 20:42:12 -0700
parents a6bafeb5fecf
children 136e47478441
comparison
equal deleted inserted replaced
339:2f415c0b4b28 340:e8841d3c6db5
224 if ( stateType == 0x00 && state == 0x03 ) // Release state 224 if ( stateType == 0x00 && state == 0x03 ) // Release state
225 return; 225 return;
226 226
227 // Set consumer control code 227 // Set consumer control code
228 USBKeys_ConsCtrl = *(uint16_t*)(&args[0]); 228 USBKeys_ConsCtrl = *(uint16_t*)(&args[0]);
229 }
230
231
232 // Ignores the given key status update
233 // Used to prevent fall-through, this is the None keyword in KLL
234 void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args )
235 {
236 // Display capability name
237 if ( stateType == 0xFF && state == 0xFF )
238 {
239 print("Output_noneSend()");
240 return;
241 }
242
243 // Nothing to do, because that's the point :P
229 } 244 }
230 245
231 246
232 // Sends a System Control code to the USB Output buffer 247 // Sends a System Control code to the USB Output buffer
233 void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ) 248 void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args )