Skip to content

Tareas no se inician cuando no estan las EEPROM abordo #24

@carlgonz

Description

@carlgonz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions