Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RTOS-Setup/src/tasks.cpp
- Revision:
- 46:b11655031d24
- Parent:
- 31:3dde2201e54d
- Child:
- 47:89a7077a70d3
- Child:
- 48:9dbdc4144f00
--- a/RTOS-Setup/src/tasks.cpp Sat May 17 09:12:20 2014 +0000 +++ b/RTOS-Setup/src/tasks.cpp Sat May 17 11:57:09 2014 +0000 @@ -12,8 +12,8 @@ RtosTimer thread1(Task1, osTimerPeriodic, NULL); RtosTimer thread2Master(Task2_Master, osTimerPeriodic, NULL); RtosTimer thread2Slave(Task2_Slave, osTimerPeriodic, NULL); - RtosTimer thread3(Task3, osTimerPeriodic, (void *)0); - RtosTimer thread4(Task4, osTimerPeriodic, (void *)0); + RtosTimer thread3(Task3, osTimerPeriodic, NULL); + RtosTimer thread4(Task4, osTimerPeriodic, NULL); /* Start threads */ thread1.start(TASK1_PERIOD);