I register the idle task when there are events in the idle queue and I remove the idle task once those events have been processed. This should cut down on CPU usage when nothing is happening.
8 lines
91 B
C
8 lines
91 B
C
#ifndef OCARINA_H
|
|
#define OCARINA_H
|
|
|
|
void ocarina_quit();
|
|
void ocarina_idle_add();
|
|
|
|
#endif
|