From f8523254d0c4584e1a56d835ab0af9e8a8625c4b Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 6 Sep 2011 21:00:48 +0000 Subject: 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 --- nuttx/drivers/pm/pm_checkstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/drivers') diff --git a/nuttx/drivers/pm/pm_checkstate.c b/nuttx/drivers/pm/pm_checkstate.c index 93f19a502..9ecff862e 100644 --- a/nuttx/drivers/pm/pm_checkstate.c +++ b/nuttx/drivers/pm/pm_checkstate.c @@ -129,7 +129,7 @@ enum pm_state_e pm_checkstate(void) now = clock_systimer(); if (now - g_pmglobals.stime >= TIME_SLICE_TICKS) { - int16_t accum; + int16_t accum; /* Sample the count, reset the time and count, and assess the PM * state. This is an atomic operation because interrupts are -- cgit v1.2.3