aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/weather/WeatherService.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-03-19 12:36:13 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-03-19 12:41:01 +0200
commit0a4f015783352c8070e57f8c76a6b062fb6352d6 (patch)
treee57cb66d81a0c4369110c407d4aca5ae98c6f5ca /src/components/ble/weather/WeatherService.cpp
parent829ab86f37fffbed8575aad2be6707198a58ab19 (diff)
WeatherService: const DateTimeController reference
Diffstat (limited to 'src/components/ble/weather/WeatherService.cpp')
-rw-r--r--src/components/ble/weather/WeatherService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/weather/WeatherService.cpp b/src/components/ble/weather/WeatherService.cpp
index d9e80be8..513bb2a1 100644
--- a/src/components/ble/weather/WeatherService.cpp
+++ b/src/components/ble/weather/WeatherService.cpp
@@ -26,7 +26,7 @@ int WeatherCallback(uint16_t /*connHandle*/, uint16_t /*attrHandle*/, struct ble
namespace Pinetime {
namespace Controllers {
- WeatherService::WeatherService(DateTime& dateTimeController) : dateTimeController(dateTimeController) {
+ WeatherService::WeatherService(const DateTime& dateTimeController) : dateTimeController(dateTimeController) {
nullHeader = &nullTimelineheader;
nullTimelineheader->timestamp = 0;
}