first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
/*!
|
||||
@brief Configrate time by NTP
|
||||
@file config_time.cpp
|
||||
*/
|
||||
#ifndef CONFIG_TIME_HPP
|
||||
#define CONFIG_TIME_HPP
|
||||
|
||||
bool isEnabledRTC();
|
||||
void setTimezone(const char* posix_tz = nullptr);
|
||||
bool configTime(const char* ssid = nullptr, const char* password = nullptr);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue