Browse Source

fix leds on mcp

pull/22181/head
Drashna Jael're 2 months ago
parent
commit
6412bf556c
No known key found for this signature in database GPG Key ID: DBA1FD3A860D1B11
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      keyboards/zsa/voyager/matrix.c

+ 2
- 2
keyboards/zsa/voyager/matrix.c View File

@ -52,8 +52,8 @@ void matrix_init_custom(void) {
gpio_set_pin_input_low(B0);
mcp23018_init(MCP23018_DEFAULT_ADDRESS);
mcp23018_errors += !mcp23018_set_config(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTA, 0b10000000);
mcp23018_errors += !mcp23018_set_config(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTB, 0b11111111);
mcp23018_errors += !mcp23018_set_config(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTA, 0b00000000);
mcp23018_errors += !mcp23018_set_config(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTB, 0b00111111);
if (!mcp23018_errors) {
is_launching = true;


Loading…
Cancel
Save