with hardware oversampling

This commit is contained in:
Noah Piqué
2021-11-17 11:35:41 +01:00
parent e15e692e89
commit 04d2bab659
10 changed files with 42 additions and 14 deletions

View File

@@ -183,7 +183,14 @@ PRIVATE VOID vInitTask( PVOID arg )
boOK &= MAIN_boInitializeModule();
//!boOK ? RTOS_vFatalError() : NULL;
if(!boOK){
osKernelLock(); // lock kernel to prevent task switch
while(1){
DIPO_vToggleOutput(DIPO_eLED);
DELAY_MS( 100 );
}
}
// boInitConfig ? ELOG_ADD_LOG( ELOG_eFactoryReset ) : NULL;
//