Skip to content

Commit

Permalink
rg_network: Workaround for the constantly shifting SNTP API (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Jul 25, 2024
1 parent 1b0f380 commit f79ec9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/retro-go/rg_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
#ifdef RG_ENABLE_NETWORKING
#include <esp_http_client.h>
#include <esp_system.h>
#include <esp_sntp.h>
// #include <esp_sntp.h>
#include <esp_wifi.h>
#include <esp_event.h>
#include <nvs_flash.h>
#include <lwip/err.h>
#include <lwip/sys.h>
#include <lwip/apps/sntp.h>

static rg_network_t network = {0};
static rg_wifi_config_t wifi_config = {0};
Expand Down

0 comments on commit f79ec9f

Please sign in to comment.