aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/SystemInfo.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2024-07-23 19:27:19 +0200
committerJF <JF002@users.noreply.github.com>2024-08-05 20:34:41 +0200
commit3a0d673df420411a4db3a2acf57d04436446430c (patch)
tree45b94f7999fe704f4d3fb5c0a17463da9b200915 /src/displayapp/screens/SystemInfo.h
parent53dc9dafe7c4b3a9be89724df2226715d6626651 (diff)
Display the SPI flash JEDEC IDs in SystemInformation.
This is needed since a new memory chip will be used in future batches of PineTimes.
Diffstat (limited to 'src/displayapp/screens/SystemInfo.h')
-rw-r--r--src/displayapp/screens/SystemInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h
index 199af51e..3129c463 100644
--- a/src/displayapp/screens/SystemInfo.h
+++ b/src/displayapp/screens/SystemInfo.h
@@ -29,7 +29,8 @@ namespace Pinetime {
const Pinetime::Controllers::Ble& bleController,
const Pinetime::Drivers::Watchdog& watchdog,
Pinetime::Controllers::MotionController& motionController,
- const Pinetime::Drivers::Cst816S& touchPanel);
+ const Pinetime::Drivers::Cst816S& touchPanel,
+ const Pinetime::Drivers::SpiNorFlash& spiNorFlash);
~SystemInfo() override;
bool OnTouchEvent(TouchEvents event) override;
@@ -42,6 +43,7 @@ namespace Pinetime {
const Pinetime::Drivers::Watchdog& watchdog;
Pinetime::Controllers::MotionController& motionController;
const Pinetime::Drivers::Cst816S& touchPanel;
+ const Pinetime::Drivers::SpiNorFlash& spiNorFlash;
ScreenList<5> screens;