X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Output%2FusbMuxUart%2Foutput_com.c;h=44c5b4920bf1c2c6353f2810c7b7d51e59252db7;hb=59d425ccfe1ca3019ba80ad6dd4a228b7c7cbe33;hp=3fa26c93909182582df47f3cc56a16f7e68ee29a;hpb=55d03f448e42ea581810bef3d55eb9c017572665;p=kiibohd-controller.git diff --git a/Output/usbMuxUart/output_com.c b/Output/usbMuxUart/output_com.c index 3fa26c9..44c5b49 100644 --- a/Output/usbMuxUart/output_com.c +++ b/Output/usbMuxUart/output_com.c @@ -490,6 +490,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()"); + return; + } + + // Start flash mode + Output_firmwareReload(); +} + // ----- Functions -----