X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=task.c;h=b2197f936908fa12b5a42844678124eda1501e8d;hb=a0556afb8953ae458fb0fe7bcc68bde851f0e630;hp=d704d60bd850d6042c95641b5eaeb897af8d8dab;hpb=ce6d400970d36cfb7ec4e3a2c97470d547c7ed78;p=rgblamp.git diff --git a/task.c b/task.c index d704d60..b2197f9 100644 --- a/task.c +++ b/task.c @@ -46,13 +46,6 @@ task_id_t task_get(unsigned char block) _task_bitno = 0; } } -#if 0 - /* Something like this when we have a crystal. But watch for the race of - * going to sleep when a task is posted by an ISR. - */ - else - SLEEP(); -#endif } while (t == -1 && block == 1); return t; }