|
|
@ -249,6 +249,7 @@ void WatchFaceTerminal::Refresh() {
|
|
|
|
//TemperatureColor(temp);
|
|
|
|
//TemperatureColor(temp);
|
|
|
|
NRF_LOG_INFO("Color hex: %s", color);
|
|
|
|
NRF_LOG_INFO("Color hex: %s", color);
|
|
|
|
lv_label_set_text_fmt(weatherStatus, "[WTHR]#%s %d#°%c %s", color, RoundTemperature(temp), tempUnit, WeatherString(weatherId));
|
|
|
|
lv_label_set_text_fmt(weatherStatus, "[WTHR]#%s %d#°%c %s", color, RoundTemperature(temp), tempUnit, WeatherString(weatherId));
|
|
|
|
|
|
|
|
delete[] color;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
lv_label_set_text_static(weatherStatus, "[WTHR]No Data");
|
|
|
|
lv_label_set_text_static(weatherStatus, "[WTHR]No Data");
|
|
|
|
}
|
|
|
|
}
|
|
|
|