-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Las tareas no se inician cuando las EEPROM no están a bordo, debido a que hay una lectura de estado que causa un loop infinito antes de iniciar el funcionamiento efectivo.
Ejemplo TaskConsole.c
/*Avoid the acummulation of commands while the SUCHAI is still deploying.. */
#if (SCH_THOUSEKEEPING_USE == 1)
portTickType xLastWakeTime = xTaskGetTickCount();
portTickType check_deployment_time = (10000) / portTICK_RATE_MS; /* check every 10sec */
while( TRUE ){
/* TODO: Infinite loop if EEPROM is not onboard */
if( sta_get_BusStateVar(sta_dep_ant_deployed)==1 ){
break;
}
vTaskDelayUntil(&xLastWakeTime, check_deployment_time);
}
#endif
Relacionado: #23
Reactions are currently unavailable