From f6c360002daa5b9c18386f5d14ce22d3184a7b3f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 24 Apr 2018 09:45:27 +0000 Subject: Updated C++ demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11954 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/various/cpp_wrappers/ch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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) { } -- cgit v1.2.3