Change WEATHER_URL_SOURCE to constexpr string

This commit is contained in:
Tyler Perkins 2021-12-23 14:05:00 -05:00
parent 76bd20c7be
commit e729794009

View File

@ -15,8 +15,9 @@ namespace dashboard::panel {
//string to not show anything //string to not show anything
constexpr char WEATHER_TITLE[] = "Weather"; constexpr char WEATHER_TITLE[] = "Weather";
//New York RSS feed //Cuyahoga Falls Weather Feed
static const char* WEATHER_URL_SOURCE = "https://www.7timer.info/bin/civil.php?lon=41.13&lat=-81.48&unit=british&output=json&tzshift=0"; //static const char* WEATHER_URL_SOURCE = "https://www.7timer.info/bin/civil.php?lon=41.13&lat=-81.48&unit=british&output=json&tzshift=0";
constexpr char WEATHER_URL_SOURCE[] = "https://www.7timer.info/bin/civil.php?lon=41.13&lat=-81.48&unit=british&output=json&tzshift=0";
//Default time the slide is shown on screen, in ms //Default time the slide is shown on screen, in ms
//Default 15s //Default 15s