Skip to content

Commit

Permalink
Fix i2c timeouts for all boards
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Aug 28, 2024
1 parent be1686a commit 77f0dd8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keyboards/zsa/ergodox_ez/ergodox_ez.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
extern i2c_status_t mcp23018_status;

#ifndef ERGODOX_EZ_I2C_TIMEOUT
# define ERGODOX_EZ_I2C_TIMEOUT 80
# define ERGODOX_EZ_I2C_TIMEOUT 10
#endif
#ifndef MCP23018_EXPANDER_I2C_ADDR
# define MCP23018_EXPANDER_I2C_ADDR (0x20 << 1)
Expand Down
4 changes: 2 additions & 2 deletions keyboards/zsa/ergodox_ez/post_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#define WS2812_LED_COUNT RGBLIGHT_LED_COUNT

#ifndef ISSI_TIMEOUT
# define ISSI_TIMEOUT 3
#ifndef IS31FL3731_I2C_TIMEOUT
# define IS31FL3731_I2C_TIMEOUT 3
#endif
3 changes: 3 additions & 0 deletions keyboards/zsa/moonlander/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#define MATRIX_ROWS 12
#define MATRIX_COLS 7

#define MCP23018_TIMEOUT 10


#define EEPROM_I2C_24LC128

#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
Expand Down
1 change: 1 addition & 0 deletions keyboards/zsa/planck_ez/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
#define AUDIO_PIN_ALT_AS_NEGATIVE

#define IS31FL3737_I2C_ADDRESS_1 IS31FL3737_I2C_ADDRESS_GND
#define IS31FL3737_I2C_TIMEOUT 5
2 changes: 2 additions & 0 deletions keyboards/zsa/voyager/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define MATRIX_COLS 7
#define MATRIX_ROWS 12

#define MCP23018_TIMEOUT 10

#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC

Expand Down

0 comments on commit 77f0dd8

Please sign in to comment.