REV4a only supports 100kHz, this is why I had random errors! Now I need

tests at 400kHz for the standard (non Plus) Taranis. I keep 200kHz for
now.
This commit is contained in:
bsongis
2015-05-31 16:43:15 +02:00
parent bbb5cd9fdb
commit 23adad950a
+2
View File
@@ -326,6 +326,8 @@
#define I2C_GPIO_PinSource_SDA GPIO_PinSource7
#if defined(REVPLUS)
#define I2C_SPEED 400000
#elif defined(REV4a)
#define I2C_SPEED 100000
#else
#define I2C_SPEED 200000
#endif