mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting
This commit is contained in:
@@ -67,6 +67,8 @@ static String generateClientId() {
|
||||
#define EMSESP_DEFAULT_NESTED_FORMAT true
|
||||
#define EMSESP_DEFAULT_SUBSCRIBE_FORMAT 0
|
||||
|
||||
#define EMSESP_DEFAULT_BOARD_PROFILE "S32"
|
||||
|
||||
class MqttSettings {
|
||||
public:
|
||||
// host and port - if enabled
|
||||
|
||||
@@ -46,7 +46,7 @@ void NTPSettingsService::WiFiEvent(WiFiEvent_t event) {
|
||||
|
||||
void NTPSettingsService::configureNTP() {
|
||||
if (connected_ && _state.enabled) {
|
||||
emsesp::EMSESP::logger().info(F("Starting NTP..."));
|
||||
emsesp::EMSESP::logger().info(F("Starting NTP"));
|
||||
configTzTime(_state.tzFormat.c_str(), _state.server.c_str());
|
||||
} else {
|
||||
setenv("TZ", _state.tzFormat.c_str(), 1);
|
||||
|
||||
Reference in New Issue
Block a user