mirror of https://github.com/rusefi/rusefi-1.git
docs
This commit is contained in:
parent
cde70534f7
commit
13ecc35af7
|
@ -172,6 +172,11 @@ static persisted_configuration_state_e doReadConfiguration(flashaddr_t address)
|
||||||
*/
|
*/
|
||||||
static persisted_configuration_state_e readConfiguration() {
|
static persisted_configuration_state_e readConfiguration() {
|
||||||
efiAssert(CUSTOM_ERR_ASSERT, getCurrentRemainingStack() > EXPECTED_REMAINING_STACK, "read f", PC_ERROR);
|
efiAssert(CUSTOM_ERR_ASSERT, getCurrentRemainingStack() > EXPECTED_REMAINING_STACK, "read f", PC_ERROR);
|
||||||
|
/*
|
||||||
|
* getFlashAddr does device validation, we want validation to be invoked even while we are
|
||||||
|
* HW_CHECK_MODE mode where we would not need actual address
|
||||||
|
* todo: rename method to emphasis the fact of validation check?
|
||||||
|
*/
|
||||||
auto firstCopyAddr = getFlashAddrFirstCopy();
|
auto firstCopyAddr = getFlashAddrFirstCopy();
|
||||||
auto secondyCopyAddr = getFlashAddrSecondCopy();
|
auto secondyCopyAddr = getFlashAddrSecondCopy();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue