Seperate SNTP stuff into its own module

This commit is contained in:
2023-05-17 18:08:55 +01:00
parent 89eb99b80f
commit 6ec3cae4b3
4 changed files with 120 additions and 75 deletions

View File

@@ -0,0 +1,19 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) Camden Dixie O'Brien
*/
#ifndef TIME_SNTP_H
#define TIME_SNTP_H
/**
* Initialize SNTP time synchronisation.
*/
void time_sntp_init(void);
/**
* Restart SNTP
*/
void time_sntp_restart(void);
#endif