amiro-os / devices / PowerManagement / userthread.h @ 552936c8
History | View | Annotate | Download (348 Bytes)
1 |
#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_ |