diff options
author | Danny <nooges@users.noreply.github.com> | 2019-06-20 01:02:20 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-19 22:02:20 -0700 |
commit | 810c8db7706f40f0436555fdffbaf849dc0a5641 (patch) | |
tree | f252853db21ad7b0106f8d75a16a46eb4f1bc612 /quantum | |
parent | 5f0ab5a24b4ec9ea01a5fd95bda9315ac6e96142 (diff) | |
download | qmk_firmware-810c8db7706f40f0436555fdffbaf849dc0a5641.tar.gz qmk_firmware-810c8db7706f40f0436555fdffbaf849dc0a5641.zip |
Set default I2C clock speed to 100kHz for split_common (#6161)
* Set default I2C clock rate for split_common boards to 100kHz
Default from I2C driver is 400kHz.
* Update documentation for setting I2C clock speed
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/split_common/post_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/split_common/post_config.h b/quantum/split_common/post_config.h index 0e59df3d06..ff0fc5e193 100644 --- a/quantum/split_common/post_config.h +++ b/quantum/split_common/post_config.h @@ -4,6 +4,10 @@ #define RGBLIGHT_SPLIT #endif + #ifndef F_SCL + #define F_SCL 100000UL // SCL frequency + #endif + #else // use serial // When using serial, the user must define RGBLIGHT_SPLIT explicitly // in config.h as needed. |