X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fao.h;h=97cb75ae59ca016f7f0c953c094827c134690360;hb=bb46c9a1da5788a082e4483e576a5a6d3963507b;hp=b43f5ecd1132f190bda58524834d6fa8a585f570;hpb=84c93bb2fc4558a5e4654794ba90e730a84eaf67;p=fw%2Faltos diff --git a/src/ao.h b/src/ao.h index b43f5ecd..97cb75ae 100644 --- a/src/ao.h +++ b/src/ao.h @@ -43,7 +43,7 @@ struct ao_task { __xdata void *wchan; /* current wait channel (NULL if running) */ uint16_t alarm; /* abort ao_sleep time */ uint8_t stack_count; /* amount of saved stack */ - uint8_t task_id; /* index in the task array */ + uint8_t task_id; /* unique id */ __code char *name; /* task name */ uint8_t stack[AO_STACK_SIZE]; /* saved stack */ }; @@ -263,8 +263,6 @@ ao_beep_init(void); */ #define AO_LED_NONE 0 -#define AO_LED_GREEN 1 -#define AO_LED_RED 2 /* Turn on the specified LEDs */ void