aboutsummaryrefslogtreecommitdiff
path: root/examples/1_SimpleTestShapes
diff options
context:
space:
mode:
authorMichał Bazan <michal.bazan@connectedinnovations.com>2024-09-19 04:10:51 -0700
committerMichał Bazan <michal.bazan@connectedinnovations.com>2024-09-19 04:39:20 -0700
commit268fd5ea4e22631cabe280217623d642dff52d7c (patch)
treef61698a7ac83c2bf642d20679b7b1a63ccae8097 /examples/1_SimpleTestShapes
parent4b3404a361048b361864cbb8ed9136b5a72d8f08 (diff)
fixed nullptr dereference in example 3
Diffstat (limited to 'examples/1_SimpleTestShapes')
-rw-r--r--examples/1_SimpleTestShapes/1_SimpleTestShapes.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
index bc1006a..64fb76c 100644
--- a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
+++ b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
@@ -108,7 +108,7 @@ void setup() {
myWHITE = dma_display->color565(255, 255, 255);
myRED = dma_display->color565(255, 0, 0);
myGREEN = dma_display->color565(0, 255, 0);
- myBLUE = dma_disdisplay->color565(0, 0, 255);
+ myBLUE = dma_display->color565(0, 0, 255);
dma_display->fillScreen(myWHITE);