amiro-os / devices / LightRing / userthread.hpp @ a47d64ad
History | View | Annotate | Download (347 Bytes)
1 | 58fe0e0b | Thomas Schöpping | #ifndef AMIRO_USERTHREAD_H_
|
---|---|---|---|
2 | #define AMIRO_USERTHREAD_H_
|
||
3 | |||
4 | #include <ch.hpp> |
||
5 | #include <amiroosconf.h> |
||
6 | |||
7 | namespace amiro {
|
||
8 | |||
9 | class UserThread : public chibios_rt::BaseStaticThread<USER_THREAD_STACK_SIZE> |
||
10 | { |
||
11 | public:
|
||
12 | explicit UserThread();
|
||
13 | virtual ~UserThread();
|
||
14 | |||
15 | virtual msg_t main();
|
||
16 | }; |
||
17 | |||
18 | } // end of namespace amiro
|
||
19 | |||
20 | #endif // AMIRO_USERTHREAD_H_ |