diff options
Diffstat (limited to 'os/various/cpp_wrappers/ch.hpp')
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index e50aa6df6..9f3c5ec1f 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -440,7 +440,7 @@ namespace chibios_rt { *
* @api
*/
- virtual msg_t main(void);
+ virtual void main(void);
/**
* @brief Creates and starts a system thread.
@@ -787,7 +787,7 @@ namespace chibios_rt { * @api
*/
virtual ThreadReference start(tprio_t prio) {
- msg_t _thd_start(void *arg);
+ void _thd_start(void *arg);
thread_ref = chThdCreateStatic(wa, sizeof(wa), prio, _thd_start, this);
return *this;
|