diff options
author | Drashna Jaelre <drashna@live.com> | 2022-10-27 22:43:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 14:43:40 +0900 |
commit | d9f575fa86ca10b990958d4e677c6a0a387dc7c3 (patch) | |
tree | 310799b9843273a98ad92872f31309fe69295223 /keyboards/ergodox_ez/ergodox_ez.h | |
parent | 89e3c4c0daffc746b8393cf36b755e228a819709 (diff) |
Reduce i2c timeouts for rgb led supported hardware (#360)
* Reduce i2c timeouts for rgb led supported hardware
* update
* make defines more consistent
Diffstat (limited to 'keyboards/ergodox_ez/ergodox_ez.h')
-rw-r--r-- | keyboards/ergodox_ez/ergodox_ez.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.h b/keyboards/ergodox_ez/ergodox_ez.h index 1ea13070e8..60ec270c9e 100644 --- a/keyboards/ergodox_ez/ergodox_ez.h +++ b/keyboards/ergodox_ez/ergodox_ez.h @@ -45,7 +45,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define OLATB 0x15 extern i2c_status_t mcp23018_status; -#define ERGODOX_EZ_I2C_TIMEOUT 100 +#ifndef ERGODOX_EZ_I2C_TIMEOUT +# define ERGODOX_EZ_I2C_TIMEOUT 80 +#endif void init_ergodox(void); void ergodox_blink_all_leds(void); |