diff options
| -rw-r--r-- | docs/config_options.md | 4 | ||||
| -rw-r--r-- | quantum/split_common/post_config.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index 55d25d4c8..7418e8dbf 100644 --- a/docs/config_options.md +++ b/docs/config_options.md | |||
| @@ -93,8 +93,8 @@ This is a C header file that is one of the first things included, and will persi | |||
| 93 | * key combination that allows the use of magic commands (useful for debugging) | 93 | * key combination that allows the use of magic commands (useful for debugging) |
| 94 | * `#define USB_MAX_POWER_CONSUMPTION` | 94 | * `#define USB_MAX_POWER_CONSUMPTION` |
| 95 | * sets the maximum power (in mA) over USB for the device (default: 500) | 95 | * sets the maximum power (in mA) over USB for the device (default: 500) |
| 96 | * `#define SCL_CLOCK 100000L` | 96 | * `#define F_SCL 100000L` |
| 97 | * sets the SCL_CLOCK speed for split keyboards. The default is `100000L` but some boards can be set to `400000L`. | 97 | * sets the I2C clock rate speed for keyboards using I2C. The default is `400000L`, except for keyboards using `split_common`, where the default is `100000L`. |
| 98 | 98 | ||
| 99 | ## Features That Can Be Disabled | 99 | ## Features That Can Be Disabled |
| 100 | 100 | ||
diff --git a/quantum/split_common/post_config.h b/quantum/split_common/post_config.h index 0e59df3d0..ff0fc5e19 100644 --- a/quantum/split_common/post_config.h +++ b/quantum/split_common/post_config.h | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | #define RGBLIGHT_SPLIT | 4 | #define RGBLIGHT_SPLIT |
| 5 | #endif | 5 | #endif |
| 6 | 6 | ||
| 7 | #ifndef F_SCL | ||
| 8 | #define F_SCL 100000UL // SCL frequency | ||
| 9 | #endif | ||
| 10 | |||
| 7 | #else // use serial | 11 | #else // use serial |
| 8 | // When using serial, the user must define RGBLIGHT_SPLIT explicitly | 12 | // When using serial, the user must define RGBLIGHT_SPLIT explicitly |
| 9 | // in config.h as needed. | 13 | // in config.h as needed. |
