diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-06 21:00:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-06 21:00:48 +0000 |
commit | f8523254d0c4584e1a56d835ab0af9e8a8625c4b (patch) | |
tree | 765ebc200ed841447879eaeb06f8ad02706c5428 /nuttx/drivers | |
parent | ca6a50135e04d530ddf75b38f7fff1081ced6de4 (diff) | |
download | px4-nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.tar.gz px4-nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.tar.bz2 px4-nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.zip |
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
Diffstat (limited to 'nuttx/drivers')
-rw-r--r-- | nuttx/drivers/pm/pm_checkstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |