diff --git a/embadet/main/apple.c b/embadet/main/apple.c index 38c86dc..7275218 100644 --- a/embadet/main/apple.c +++ b/embadet/main/apple.c @@ -21,6 +21,8 @@ int app_main() { // Variable to store the MAC address uint8_t baseMac[6]; + + long uptime = (xTaskGetTickCount() * (1000/configTICK_RATE_HZ)); // Get MAC address of the WiFi station interface esp_read_mac(baseMac, ESP_MAC_WIFI_STA);