Skip to content

Commit

Permalink
use LED_GPIO not 0 (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
taunoe authored May 2, 2024
1 parent 545185d commit bf15aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pico_w/wifi/access_point/picow_access_point.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ static int test_server_content(const char *request, const char *params, char *re
if (led_param == 1) {
if (led_state) {
// Turn led on
cyw43_gpio_set(&cyw43_state, 0, true);
cyw43_gpio_set(&cyw43_state, LED_GPIO, true);
} else {
// Turn led off
cyw43_gpio_set(&cyw43_state, 0, false);
cyw43_gpio_set(&cyw43_state, LED_GPIO, false);
}
}
}
Expand Down

0 comments on commit bf15aea

Please sign in to comment.