bootloader: fix comment
This commit is contained in:
parent
b2c823f858
commit
25c44e9568
|
@ -37,7 +37,7 @@ void main(void)
|
|||
// check of DFU mode is forced
|
||||
bool dfu_force = false; // to remember if DFU mode is forced
|
||||
// check if a soft boot has been used
|
||||
if (0==(RCC_CSR&0xfc000000)) { // no reset flag present -> this was a soft reset using csr_reset_core(), very probably to start the DFU mode
|
||||
if (0==(RCC_CSR&0xfc000000)) { // no reset flag present -> this was a soft reset using scb_reset_core() after clearing the flags using RCC_CSR_RMVF, very probably to start the DFU mode
|
||||
dfu_force = true;
|
||||
} else { // check if the force DFU mode input is set
|
||||
// disable SWJ pin to use as GPIO
|
||||
|
|
Loading…
Reference in New Issue