aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
Diffstat (limited to 'os/various')
-rw-r--r--os/various/cpp_wrappers/ch.hpp2
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) {
}