From 724eef04f372d36f8c3893bbd4111a912a954d02 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sun, 10 Jul 2016 17:58:39 +0000 Subject: Updated L3GD20 related files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9698 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ex/ST/l3gd20.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'os/ex/ST') diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h index 1b3f2993a..f2c3907da 100644 --- a/os/ex/ST/l3gd20.h +++ b/os/ex/ST/l3gd20.h @@ -291,6 +291,11 @@ #if L3GD20_USE_SPI && !HAL_USE_SPI #error "L3GD20_USE_SPI requires HAL_USE_SPI" #endif + +//TODO: add I2C support. +#if L3GD20_USE_I2C +#error "L3GD20 over I2C still not supported" +#endif #if L3GD20_USE_I2C && !HAL_USE_I2C #error "L3GD20_USE_I2C requires HAL_USE_I2C" -- cgit v1.2.3