Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
carlgonz opened this issue Jan 19, 2016 · 0 comments
Open

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

carlgonz opened this issue Jan 19, 2016 · 0 comments
Labels

Comments

@carlgonz
Copy link
Member

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

@carlgonz carlgonz added the bug label Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant