dygma/Raise: Decrease the I2C clock to 100kHZ

We use 100kHZ for flashing, because that's more reliable. Use the same for
normal operation, for similar reasons. This appears to fix a frequent crash
issue.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/859/head
Gergely Nagy 5 years ago
parent 06fdae832a
commit 14cb9aa908
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -28,7 +28,7 @@
#include "kaleidoscope/driver/color/GammaCorrection.h" #include "kaleidoscope/driver/color/GammaCorrection.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h" #include "kaleidoscope/driver/keyscanner/Base_Impl.h"
#define I2C_CLOCK_KHZ 200 #define I2C_CLOCK_KHZ 100
#define I2C_FLASH_CLOCK_KHZ 100 // flashing doesn't work reliably at higher clock speeds #define I2C_FLASH_CLOCK_KHZ 100 // flashing doesn't work reliably at higher clock speeds
#define SIDE_POWER 1 // side power switch pa10 #define SIDE_POWER 1 // side power switch pa10

Loading…
Cancel
Save