Skip to content

Commit

Permalink
Set google NTP as default
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthas committed Aug 27, 2023
1 parent 33f5db2 commit 1e961ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions firmware/lib/cw-commons/CWPreferences.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <Preferences.h>
#include <ezTime.h>

#ifndef CW_PREF_DB_NAME
#define CW_PREF_DB_NAME "clockwise"
Expand Down Expand Up @@ -81,7 +80,7 @@ struct ClockwiseParams
timeZone = preferences.getString(PREF_TIME_ZONE, "America/Sao_Paulo");
wifiSsid = preferences.getString(PREF_WIFI_SSID, "");
wifiPwd = preferences.getString(PREF_WIFI_PASSWORD, "");
ntpServer = preferences.getString(PREF_NTP_SERVER, NTP_SERVER);
ntpServer = preferences.getString(PREF_NTP_SERVER, "time.google.com");
canvasFile = preferences.getString(PREF_CANVAS_FILE, "");
canvasServer = preferences.getString(PREF_CANVAS_SERVER, "raw.githubusercontent.com");
manualPosix = preferences.getString(PREF_MANUAL_POSIX, "");
Expand Down

0 comments on commit 1e961ab

Please sign in to comment.