From 23adad950a75414a85e8fd47a7332dd5fcea8ba8 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 31 May 2015 16:43:15 +0200 Subject: [PATCH] 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. --- radio/src/targets/taranis/hal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/targets/taranis/hal.h b/radio/src/targets/taranis/hal.h index 126d78f41..54a102c4c 100644 --- a/radio/src/targets/taranis/hal.h +++ b/radio/src/targets/taranis/hal.h @@ -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