Mercurial > louis > kiibohd-controller
comparison Output/pjrcUSB/output_com.c @ 385:d8f61e15aca1
Adding jump to bootloader key
- Now enabled by default
- Added protection around remote jumps
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 11 Oct 2015 22:07:11 -0700 |
parents | 39e338a6733d |
children | 23a1868b4ac2 |
comparison
equal
deleted
inserted
replaced
384:82ce1988fefe | 385:d8f61e15aca1 |
---|---|
487 void Output_flashMode_capability( uint8_t state, uint8_t stateType, uint8_t *args ) | 487 void Output_flashMode_capability( uint8_t state, uint8_t stateType, uint8_t *args ) |
488 { | 488 { |
489 // Display capability name | 489 // Display capability name |
490 if ( stateType == 0xFF && state == 0xFF ) | 490 if ( stateType == 0xFF && state == 0xFF ) |
491 { | 491 { |
492 print("Output_flashMode(usbCode)"); | 492 print("Output_flashMode()"); |
493 return; | 493 return; |
494 } | 494 } |
495 | 495 |
496 // Start flash mode | 496 // Start flash mode |
497 Output_firmwareReload(); | 497 Output_firmwareReload(); |