X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao.h;h=97cb75ae59ca016f7f0c953c094827c134690360;hp=aefefa461390216815c85e0226c5fa2b76448eba;hb=9e10e43eff9de3f034da49c4f88728fb933f5035;hpb=a7fc7901cd591c93d9d0cffeec2977ebb17554d4;ds=sidebyside diff --git a/src/ao.h b/src/ao.h index aefefa46..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 */ };