diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-26 17:49:51 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-26 17:49:51 +0000 |
commit | 267e558ee47441126a6e54312a3529a8c4564f76 (patch) | |
tree | 95b3092e83ccd9a903227abb59e587f954a2b1c3 /os/hal | |
parent | befe9632df5540514af04a9e7a084a50778873e8 (diff) | |
download | ChibiOS-267e558ee47441126a6e54312a3529a8c4564f76.tar.gz ChibiOS-267e558ee47441126a6e54312a3529a8c4564f76.tar.bz2 ChibiOS-267e558ee47441126a6e54312a3529a8c4564f76.zip |
I2C. Fixed warning.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3453 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/i2c_lld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c index 317fc57dd..a0914e819 100644 --- a/os/hal/platforms/STM32/i2c_lld.c +++ b/os/hal/platforms/STM32/i2c_lld.c @@ -277,8 +277,9 @@ void _i2c_ev7_master_rec_byte_qued(I2CDriver *i2cp){ rxBuffp++; (i2cp->rxbytes)--; } - else + else{ _i2c_unhandled_case(i2cp); + } break; default: |