diff --git a/readme.txt b/readme.txt index 63c5cdbdf..df177a5b7 100644 --- a/readme.txt +++ b/readme.txt @@ -67,6 +67,7 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process, - FIX: Removed usused list functions (bug 2755230). - FIX: Added the exception notes into the source headers (bug 2772129). - FIX: Added license notice to several files (bug 2772160). +- FIX: Fixed problem in the C++ wrapper (bug 2772237). *** 1.2.0 *** - Full test cycle and test reports updated. diff --git a/src/lib/ch.cpp b/src/lib/ch.cpp index d5148f327..b4e345a2e 100644 --- a/src/lib/ch.cpp +++ b/src/lib/ch.cpp @@ -54,7 +54,7 @@ namespace chibios_rt { systime_t System::GetTime(void) { - return chSysGetTime(); + return chTimeNow(); } /*------------------------------------------------------------------------*