aboutsummaryrefslogtreecommitdiff
path: root/examples/PIO_TestPatterns/src/main.cpp
diff options
context:
space:
mode:
authorElliot Matson <ematson5897@gmail.com>2023-01-29 20:25:59 -0600
committerElliot Matson <ematson5897@gmail.com>2023-01-29 20:25:59 -0600
commitf6ac9357c90a5f32b1732723a621e22a59076052 (patch)
treed65d04bc6b107292786387417981308dbf19a9ba /examples/PIO_TestPatterns/src/main.cpp
parent734816f5f39a2111d68246a85b416873b9f1757e (diff)
Use proper ci matrix
Diffstat (limited to 'examples/PIO_TestPatterns/src/main.cpp')
-rw-r--r--examples/PIO_TestPatterns/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/PIO_TestPatterns/src/main.cpp b/examples/PIO_TestPatterns/src/main.cpp
index 6325b63..ef43fe3 100644
--- a/examples/PIO_TestPatterns/src/main.cpp
+++ b/examples/PIO_TestPatterns/src/main.cpp
@@ -241,7 +241,7 @@ void loop(){
delay(PATTERN_DELAY);
//
-#ifdef TEST_FASTLINES
+#ifndef NO_FAST_FUNCTIONS
// Fillrate for fillRect() function
Serial.print("Estimating fullscreen fillrate with fillRect() time: ");
t1 = micros();
@@ -293,7 +293,7 @@ void loop(){
Serial.printf("%lu us, %u ticks\n", t2, ccount1);
delay(PATTERN_DELAY);
-#ifdef TEST_FASTLINES
+#ifndef NO_FAST_FUNCTIONS
Serial.println("Estimating V-lines with vlineDMA(): "); //
matrix->fillScreen(0);
color2 = random8();
@@ -347,7 +347,7 @@ void loop(){
Serial.printf("%lu us, %u ticks\n", t2, ccount1);
delay(PATTERN_DELAY);
-#ifdef TEST_FASTLINES
+#ifndef NO_FAST_FUNCTIONS
Serial.println("Estimating H-lines with hlineDMA(): ");
matrix->fillScreen(0);
color2 = random8();