Skip to content

Commit

Permalink
Merge branch 'pr_77' into 'main'
Browse files Browse the repository at this point in the history
Start web server on ETH_GOT_IP, not just STA_GOT_IP

See merge request espressif/esp-thread-br!122
  • Loading branch information
chshu committed Jul 5, 2024
2 parents 5d692a3 + 6386e40 commit 41674eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/esp_ot_br_server/src/esp_br_web.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,4 +1220,5 @@ static void handler_got_ip_event(void *arg, esp_event_base_t event_base, int32_t
void esp_br_web_start(char *base_path)
{
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &handler_got_ip_event, base_path));
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &handler_got_ip_event, base_path));
}

0 comments on commit 41674eb

Please sign in to comment.