From d1e82b45682971eb6a1a1c29d20aa9e868549dd3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 6 Sep 2011 21:00:48 +0000 Subject: [PATCH] Fix a error the the STM32 I2C timeout logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3940 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 5 +++++ Documentation/NuttShell.html | 2 +- arch/arm/src/stm32/stm32_i2c.c | 2 +- drivers/pm/pm_checkstate.c | 2 +- include/nuttx/pm.h | 17 +++++++++++++++++ 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a5743d55ee..32522415b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2052,3 +2052,8 @@ * lib/time/lib_gmtimer.c: Correct several calculations that could lead to errors in dates. * drivers/pm: Add the beginnings of a NuttX power management sub-system. + * arch/arm/src/stm32/stm32_irq.c: Fix a error introduced in 6.8. + Timeout calculation uses clock_settime() instead of clock_gettime(). + Pretty gross error, but actually it works with the side effect of setting + a bad time. + diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 6931051669..73bb1bf658 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -1497,7 +1497,7 @@ ping [-c <count>] [-i <interval>] <ip-address> Test the network communication with a remote peer. Example,