Enable trigger stimulation after HW timer initialized (#2466)

To avoid 'CRITICAL error: hwTimer not alive' error
This commit is contained in:
Andrey G 2021-03-17 00:31:30 +03:00 committed by GitHub
parent c1d07f99ec
commit d9521d549e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 7 deletions

View File

@ -199,13 +199,6 @@ void runRusEfi(void) {
#endif // IGNORE_FLASH_CONFIGURATION
#endif /* EFI_INTERNAL_FLASH */
#if HW_CHECK_ALWAYS_STIMULATE
// we need a special binary for final assembly check. We cannot afford to require too much software or too many steps
// to be executed at the place of assembly
enableTriggerStimulator();
#endif // HW_CHECK_ALWAYS_STIMULATE
#if ! EFI_ACTIVE_CONFIGURATION_IN_FLASH
// TODO: need to fix this place!!! should be a version of PASS_ENGINE_PARAMETER_SIGNATURE somehow
prepareVoidConfiguration(&activeConfiguration);
@ -225,6 +218,12 @@ void runRusEfi(void) {
*/
initHardware(&sharedLogger);
#if HW_CHECK_ALWAYS_STIMULATE
// we need a special binary for final assembly check. We cannot afford to require too much software or too many steps
// to be executed at the place of assembly
enableTriggerStimulator();
#endif // HW_CHECK_ALWAYS_STIMULATE
#if EFI_FILE_LOGGING
initMmcCard();
#endif /* EFI_FILE_LOGGING */