File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,14 @@ extern "C" {
2727 typedef void (*SchedulerParametricTask)(void *);
2828}
2929
30+ // This class exists for only backwards compatibility with arduino-libraries/Scheduler.
31+ // You are encouraged to use mbed::Thread directly rather than using this.
3032class SchedulerClass {
3133public:
3234 SchedulerClass ();
33- void startLoop (SchedulerTask task, uint32_t stackSize = 1024 );
34- void start (SchedulerTask task, uint32_t stackSize = 1024 );
35- void start (SchedulerParametricTask task, void *data, uint32_t stackSize = 1024 );
35+ void startLoop (SchedulerTask task, uint32_t stackSize = OS_STACK_SIZE );
36+ void start (SchedulerTask task, uint32_t stackSize = OS_STACK_SIZE );
37+ void start (SchedulerParametricTask task, void *data, uint32_t stackSize = OS_STACK_SIZE );
3638
3739 void yield () { ::yield (); };
3840private:
You can’t perform that action at this time.
0 commit comments