File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Task Scheduler
22### Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers
3- #### Version 4.0.3: 2025-11-02 [ Latest updates] ( https://github.com/arkhipenko/TaskScheduler/wiki/Latest-Updates )
3+ #### Version 4.0.4: 2026-01-16 [ Latest updates] ( https://github.com/arkhipenko/TaskScheduler/wiki/Latest-Updates )
44
55[ ![ arduino-library-badge] ( https://www.ardu-badge.com/badge/TaskScheduler.svg? )] ( https://www.ardu-badge.com/TaskScheduler )
66
Original file line number Diff line number Diff line change 1616 "maintainer" : true
1717 }
1818 ],
19- "version" : " 4.0.3 " ,
19+ "version" : " 4.0.4 " ,
2020 "frameworks" : " arduino" ,
2121 "platforms" : " *"
2222}
Original file line number Diff line number Diff line change 11name =TaskScheduler
2- version =4.0.3
2+ version =4.0.4
33author =Anatoli Arkhipenko <arkhipenko@hotmail.com>
44maintainer =Anatoli Arkhipenko <arkhipenko@hotmail.com>
55sentence =Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers.
Original file line number Diff line number Diff line change @@ -303,6 +303,10 @@ v4.0.2:
303303v4.0.3:
304304 2025-11-02:
305305 - bug: next execution time with _TASK_TICKLESS did not take task timeout into account
306+
307+ v4.0.4:
308+ 2025-11-15:
309+ - bug: set callbacks should not be available for _TASK_OO_CALLBACKS mode
306310*/
307311
308312#include " TaskSchedulerDeclarations.h"
@@ -1491,6 +1495,7 @@ void Scheduler::processRequests() {
14911495 }
14921496 break ;
14931497
1498+ #ifndef _TASK_OO_CALLBACKS
14941499 case TASK_REQUEST_SETCALLBACK_1: {
14951500 Task* t = (Task*) req.object_ptr ;
14961501 t->setCallback ((TaskCallback)req.param1 );
@@ -1508,6 +1513,7 @@ void Scheduler::processRequests() {
15081513 t->setOnDisable ((TaskOnDisable)req.param1 );
15091514 }
15101515 break ;
1516+ #endif // _TASK_OO_CALLBACKS
15111517
15121518 default :
15131519 break ;
You can’t perform that action at this time.
0 commit comments