diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-23 22:20:22 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-24 17:41:41 +0200 |
| commit | 76f07de64b397bab011f2a4a2b44fd741beee458 (patch) | |
| tree | 0b31f0a2427591a3b2cc8c2d97f6145923ae53f4 /src/displayapp/screens/SystemInfo.h | |
| parent | 1c4b97382a97a8d2222b3062e12d41aa24d4686f (diff) | |
displayapp: Make Cst816S references const
Diffstat (limited to 'src/displayapp/screens/SystemInfo.h')
| -rw-r--r-- | src/displayapp/screens/SystemInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h index 09b0fc46..d6629f01 100644 --- a/src/displayapp/screens/SystemInfo.h +++ b/src/displayapp/screens/SystemInfo.h @@ -29,7 +29,7 @@ namespace Pinetime { Pinetime::Controllers::Ble& bleController, Pinetime::Drivers::WatchdogView& watchdog, Pinetime::Controllers::MotionController& motionController, - Pinetime::Drivers::Cst816S& touchPanel); + const Pinetime::Drivers::Cst816S& touchPanel); ~SystemInfo() override; bool OnTouchEvent(TouchEvents event) override; @@ -40,7 +40,7 @@ namespace Pinetime { Pinetime::Controllers::Ble& bleController; Pinetime::Drivers::WatchdogView& watchdog; Pinetime::Controllers::MotionController& motionController; - Pinetime::Drivers::Cst816S& touchPanel; + const Pinetime::Drivers::Cst816S& touchPanel; ScreenList<5> screens; |
