Switched from NTPClient to lwIPs internal SNTP client.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This has the advantage of being able to set DST automatically.
This commit is contained in:
2020-03-29 18:08:54 +02:00
parent e2a56d7c29
commit 47812de405
10 changed files with 64 additions and 36 deletions

View File

@ -10,7 +10,7 @@ private:
CRGB _color_seconds_moving_light = CRGB(0x666600);
CRGB _color_seconds_moving_dark = CRGB(0x660000);
void _draw_seconds();
void _draw_seconds(uint8_t seconds);
void _draw_border_pixel(accum88 pos, CRGB* color);
public:

View File

@ -1,9 +1,5 @@
#pragma once
#include <NTPClient.h>
#include "my_wifi.h"
#include "config.h"
extern NTPClient ntpClient;
void updateCallback(NTPClient* c);
void time_changed();
void ntp_setup();