Skip to content

Commit

Permalink
start button hid led bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
speedypotato committed Apr 12, 2022
1 parent 1de18cf commit 987fde7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified build_uf2/Pico_Game_Controller.uf2
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pico_game_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void update_button_lights() {
ws2812b_data[0] = COLOR_BLACK;
}
} else {
if (lights_report.lights.buttons[SW_GPIO_SIZE - 1] == 0) {
if (lights_report.lights.buttons[SW_GPIO_SIZE - 3] == 0) {
ws2812b_data[0] = COLOR_BLACK;
} else {
ws2812b_data[0] = SW_COLORS[0];
Expand Down

0 comments on commit 987fde7

Please sign in to comment.