aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/weather/WeatherService.h
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.h
parent829ab86f37fffbed8575aad2be6707198a58ab19 (diff)
WeatherService: const DateTimeController reference
Diffstat (limited to 'src/components/ble/weather/WeatherService.h')
-rw-r--r--src/components/ble/weather/WeatherService.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ble/weather/WeatherService.h b/src/components/ble/weather/WeatherService.h
index d1c347a9..609e8760 100644
--- a/src/components/ble/weather/WeatherService.h
+++ b/src/components/ble/weather/WeatherService.h
@@ -40,7 +40,7 @@ namespace Pinetime {
class WeatherService {
public:
- explicit WeatherService(DateTime& dateTimeController);
+ explicit WeatherService(const DateTime& dateTimeController);
void Init();
@@ -129,7 +129,7 @@ namespace Pinetime {
uint16_t eventHandle {};
- Pinetime::Controllers::DateTime& dateTimeController;
+ const Pinetime::Controllers::DateTime& dateTimeController;
std::vector<std::unique_ptr<WeatherData::TimelineHeader>> timeline;
std::unique_ptr<WeatherData::TimelineHeader> nullTimelineheader = std::make_unique<WeatherData::TimelineHeader>();