aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-16 12:21:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-16 12:21:30 +0000
commit0d96f5c78e54d267ef1ca230fe20af1ca090e1d6 (patch)
tree7090525820ed5cc9127e6d72aff8dc3dd37f563b /demos
parent9c9c52f753a9caf51189ad9e1293476f2384676b (diff)
downloadChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.tar.gz
ChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.tar.bz2
ChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5859 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
index 77bf7196b..0e8f489ae 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
+++ b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
@@ -164,7 +164,7 @@ static msg_t Thread1(void *arg) {
lis302dlWriteRegister(&SPID1, LIS302DL_CTRL_REG3, 0x00);
/* Reader thread loop.*/
- time = chTimeNow();
+ time = chVTGetSystemTime();
while (TRUE) {
int32_t x, y;
unsigned i;