aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-02-23 22:20:22 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-24 17:41:41 +0200
commit76f07de64b397bab011f2a4a2b44fd741beee458 (patch)
tree0b31f0a2427591a3b2cc8c2d97f6145923ae53f4 /src/displayapp/DisplayApp.h
parent1c4b97382a97a8d2222b3062e12d41aa24d4686f (diff)
displayapp: Make Cst816S references const
Diffstat (limited to 'src/displayapp/DisplayApp.h')
-rw-r--r--src/displayapp/DisplayApp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h
index bad21f92..080fa110 100644
--- a/src/displayapp/DisplayApp.h
+++ b/src/displayapp/DisplayApp.h
@@ -53,7 +53,7 @@ namespace Pinetime {
DisplayApp(Drivers::St7789& lcd,
Components::LittleVgl& lvgl,
- Drivers::Cst816S&,
+ const Drivers::Cst816S&,
const Controllers::Battery& batteryController,
Controllers::Ble& bleController,
Controllers::DateTime& dateTimeController,
@@ -80,7 +80,7 @@ namespace Pinetime {
private:
Pinetime::Drivers::St7789& lcd;
Pinetime::Components::LittleVgl& lvgl;
- Pinetime::Drivers::Cst816S& touchPanel;
+ const Pinetime::Drivers::Cst816S& touchPanel;
const Pinetime::Controllers::Battery& batteryController;
Pinetime::Controllers::Ble& bleController;
Pinetime::Controllers::DateTime& dateTimeController;