Seperate SNTP stuff into its own module
This commit is contained in:
19
components/time/time_sntp.h
Normal file
19
components/time/time_sntp.h
Normal 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
|
||||
Reference in New Issue
Block a user