diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index c15ca312a..d876a5cb7 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -588,7 +588,7 @@ namespace chibios_rt { *
* @init
*/
- ThreadReference(thread_t *tp) : thread_ref(tp) {
+ ThreadReference(thread_t *tp = NULL) : thread_ref(tp) {
}
|