APP Team
/
app2
...
main.cpp
- Committer:
- trixrabbit
- Date:
- 2014-01-28
- Revision:
- 5:3b94e16f0675
- Parent:
- 3:cd25d0efe0e1
File content as of revision 5:3b94e16f0675:
#include "main.h" Queue<Event_t, 16> eventQueue; Mutex queue_mutex; void RTC_Init() { set_time(1391097600); // Set RTC time to Thursday, 30 Jan 2014 16:00:00 } int main() { RTC_Init(); Thread thread1(NumEvent_thread); Thread thread2(AnnEvent_thread); Thread thread3(Collector_thread); thread1.set_priority(osPriorityHigh); thread2.set_priority(osPriorityHigh); thread3.set_priority(osPriorityNormal); while (true){} }