abfall/src/ntp_client.h

15 lines
254 B
C
Raw Normal View History

2023-01-02 11:10:22 +01:00
#pragma once
#include "pico/stdlib.h"
#include "lwip/apps/sntp.h"
extern "C" void set_system_time(u32_t sec);
class NtpClient {
public:
static void setDateTime();
private:
NtpClient() {} // Disallow creating an instance of this object
};