From 7020b80d81ec24b470ed9acccd127f2a7cb293a5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 18 Apr 2009 09:14:43 +0000 Subject: [PATCH] Fixed bug 2772237. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_1.2.x@907 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- readme.txt | 1 + src/lib/ch.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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(); } /*------------------------------------------------------------------------*