aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-02 09:33:46 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-02 09:33:46 +0000
commit57fb5e703ba8ab824d1849d7436abd64684caf20 (patch)
tree87ba0cbbd7696882d170c98e0bc34523f08601fd /testhal/STM32
parent573b5e875bd8431963fc3a40885020f7e3310640 (diff)
downloadChibiOS-57fb5e703ba8ab824d1849d7436abd64684caf20.tar.gz
ChibiOS-57fb5e703ba8ab824d1849d7436abd64684caf20.tar.bz2
ChibiOS-57fb5e703ba8ab824d1849d7436abd64684caf20.zip
I2C. Additional locks added to avoiding system hangups. Some mistypes in comments fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2865 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/I2C/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/I2C/main.c b/testhal/STM32/I2C/main.c
index 860e179d4..793f73f49 100644
--- a/testhal/STM32/I2C/main.c
+++ b/testhal/STM32/I2C/main.c
@@ -36,7 +36,7 @@ static msg_t PollTmp75Thread(void *arg) {
systime_t time = chTimeNow();
while (TRUE) {
- time += MS2ST(1000);
+ time += MS2ST(1001);
/* Call reading function */
request_temperature();
chThdSleepUntil(time);