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:
@@ -326,6 +326,8 @@
|
|||||||
#define I2C_GPIO_PinSource_SDA GPIO_PinSource7
|
#define I2C_GPIO_PinSource_SDA GPIO_PinSource7
|
||||||
#if defined(REVPLUS)
|
#if defined(REVPLUS)
|
||||||
#define I2C_SPEED 400000
|
#define I2C_SPEED 400000
|
||||||
|
#elif defined(REV4a)
|
||||||
|
#define I2C_SPEED 100000
|
||||||
#else
|
#else
|
||||||
#define I2C_SPEED 200000
|
#define I2C_SPEED 200000
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user