Adding automatic port swapping to ICPad

- Works the same as the bootloader variant, waits 1000 ms before attempting to swap
  Only swaps if USB not already intialized
  If USB never initializes, will swap forever

TODO
- Stop swapping if UARTConnect detected and initialized
This commit is contained in:
Jacob Alexander 2015-12-12 15:16:57 -08:00
parent 571c7ad35a
commit 415a0aab52
5 changed files with 274 additions and 0 deletions

View file

@ -196,6 +196,7 @@ void Matrix_setup()
print( NL );
info_msg("Max Keys: ");
printHex( Matrix_maxKeys );
print( NL );
// Clear out Debounce Array
for ( uint8_t item = 0; item < Matrix_maxKeys; item++ )