summaryrefslogtreecommitdiff
path: root/src/DisplayApp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-01-22 19:45:53 +0100
committerJF <jf@codingfield.com>2020-01-22 19:45:53 +0100
commitaa3e5c0c6f6f7bb9df02ae5d333dc6c4a6d2e744 (patch)
tree58bc64ef06dd6f0199aff19321713cff4b43dd0f /src/DisplayApp
parentb4bd41cd562f89bcd320ac0985e9b33c766babe1 (diff)
[WIP] Use IRQ in SPI driver to improve performances
Diffstat (limited to 'src/DisplayApp')
-rw-r--r--src/DisplayApp/Screens/Clock.cpp8
-rw-r--r--src/DisplayApp/Screens/Message.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/DisplayApp/Screens/Clock.cpp b/src/DisplayApp/Screens/Clock.cpp
index 153f4f2e..155cb581 100644
--- a/src/DisplayApp/Screens/Clock.cpp
+++ b/src/DisplayApp/Screens/Clock.cpp
@@ -9,10 +9,10 @@ using namespace Pinetime::Applications::Screens;
void Clock::Refresh(bool fullRefresh) {
if(fullRefresh) {
gfx.FillRectangle(0,0,240,240,0x0000);
- currentChar[0] = 0;
- currentChar[1] = 0;
- currentChar[2] = 0;
- currentChar[3] = 0;
+ currentChar[0] = 1;
+ currentChar[1] = 2;
+ currentChar[2] = 3;
+ currentChar[3] = 4;
auto dummy = currentDateTime.Get();
}
diff --git a/src/DisplayApp/Screens/Message.cpp b/src/DisplayApp/Screens/Message.cpp
index 2ade4349..121e34b9 100644
--- a/src/DisplayApp/Screens/Message.cpp
+++ b/src/DisplayApp/Screens/Message.cpp
@@ -9,6 +9,6 @@ using namespace Pinetime::Applications::Screens;
void Message::Refresh(bool fullRefresh) {
if(fullRefresh) {
gfx.FillRectangle(0,0,240,240,0xffff);
- gfx.DrawString(120, 10, 0x0000, "COUCOU", &smallFont, false);
+ gfx.DrawString(120, 10, 0x5555, "COUCOU", &smallFont, false);
}
}