This commit is contained in:
rusefi 2019-02-07 01:18:36 -05:00
parent e92b36820e
commit d4ec151c98
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ void baseHardwareInit(void) {
// looks like this holds a random value on start? Let's set a nice clean zero
DWT->CYCCNT = 0;
/**
* BOR (Brown Out Reset) is a way to reset microcontroller if target voltage is below voltage we set. When this happens, MCU is in reset state until voltage comes above selected voltage.
*/
BOR_Set(BOR_Level_1); // one step above default value
}