Called during each loop of the main bootloader sequence
| 71 | |
| 72 | // Called during each loop of the main bootloader sequence |
| 73 | void Device_process() |
| 74 | { |
| 75 | // Check for S7 being pressed |
| 76 | if ( GPIO_Ctrl( sense_pin, GPIO_Type_Read, GPIO_Config_Pulldown ) ) |
| 77 | { |
| 78 | print( "Reset key pressed." NL ); |
| 79 | SOFTWARE_RESET(); |
| 80 | } |
| 81 | } |
| 82 |
nothing calls this directly
no test coverage detected
searching dependent graphs…