amiro-os / devices / DiWheelDrive / userthread.hpp @ f8cf404d
History | View | Annotate | Download (348 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 | |||
14 | virtual ~UserThread();
|
||
15 | |||
16 | virtual msg_t main();
|
||
17 | }; |
||
18 | |||
19 | } // end of namespace amiro
|
||
20 | |||
21 | #endif // AMIRO_USERTHREAD_H_ |