summaryrefslogtreecommitdiff
path: root/src/components/ble/weather/WeatherService.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-12-04 17:12:34 +0200
committerAvamander <avamander@gmail.com>2021-12-04 22:03:40 +0200
commit3eebe66d659c9c8e72a7c355973c74c2b8899174 (patch)
treefb0d8baec225bf9b4ae8de4abaa09d00afde2014 /src/components/ble/weather/WeatherService.cpp
parentf1f2bc119a7c855613616ecaf5c8aa72390cde14 (diff)
Updated docs and renamed functions for consistency
Diffstat (limited to 'src/components/ble/weather/WeatherService.cpp')
-rw-r--r--src/components/ble/weather/WeatherService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ble/weather/WeatherService.cpp b/src/components/ble/weather/WeatherService.cpp
index f3be35f2..23f53b74 100644
--- a/src/components/ble/weather/WeatherService.cpp
+++ b/src/components/ble/weather/WeatherService.cpp
@@ -550,7 +550,7 @@ namespace Pinetime {
return std::chrono::duration_cast<std::chrono::seconds>(dateTimeController.CurrentDateTime().time_since_epoch()).count();
}
- int16_t WeatherService::getTodayMinTemp() const {
+ int16_t WeatherService::GetTodayMinTemp() const {
uint64_t currentTimestamp = GetCurrentUnixTimestamp();
uint64_t currentDayEnd = currentTimestamp - ((24 - dateTimeController.Hours()) * 60 * 60) -
((60 - dateTimeController.Minutes()) * 60) - (60 - dateTimeController.Seconds());
@@ -573,7 +573,7 @@ namespace Pinetime {
return result;
}
- int16_t WeatherService::getTodayMaxTemp() const {
+ int16_t WeatherService::GetTodayMaxTemp() const {
uint64_t currentTimestamp = GetCurrentUnixTimestamp();
uint64_t currentDayEnd = currentTimestamp - ((24 - dateTimeController.Hours()) * 60 * 60) -
((60 - dateTimeController.Minutes()) * 60) - (60 - dateTimeController.Seconds());