summaryrefslogtreecommitdiffstats
path: root/src/castRay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/castRay.cpp')
-rw-r--r--src/castRay.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/castRay.cpp b/src/castRay.cpp
index 866a2a0..474d5f1 100644
--- a/src/castRay.cpp
+++ b/src/castRay.cpp
@@ -4,7 +4,10 @@
void CastRay::drawLoop()
{
display.fillScreen(GxEPD_WHITE);
- draw_doom();
+ if (displayPtr)
+ {
+ drawDoom();
+ }
}
void CastRay::drawWatchFace()
@@ -12,10 +15,10 @@ void CastRay::drawWatchFace()
display.fillScreen(GxEPD_WHITE);
display.setTextColor(GxEPD_BLACK);
- display.setFont(&DSEG7_Classic_Bold_53);
+
+ display.setFont(&Seven_Segment10pt7b);
display.setCursor(5, 53+5);
display.print("0x0x0x0x0");
displayPtr = &display;
- usleep(1);
this->drawLoop();
}