aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-26 17:49:51 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-26 17:49:51 +0000
commit267e558ee47441126a6e54312a3529a8c4564f76 (patch)
tree95b3092e83ccd9a903227abb59e587f954a2b1c3 /os/hal/platforms/STM32
parentbefe9632df5540514af04a9e7a084a50778873e8 (diff)
downloadChibiOS-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/platforms/STM32')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.c3
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: