summaryrefslogtreecommitdiff
path: root/shared-module/rgbmatrix/RGBMatrix.h
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2021-01-26 14:33:48 -0600
committerJeff Epler <jepler@gmail.com>2021-01-26 14:33:48 -0600
commit368977fb906e6561bd67977a47dc0b415547cc33 (patch)
treedec962e559d86cc65706ae7edf7025253baea5a2 /shared-module/rgbmatrix/RGBMatrix.h
parent345c2ae8a95f63834aea4f7ee5f1288fbc84e279 (diff)
RGBMatrix: Additional tile tweaks
* Introduce explicit serpentine: bool argument instead of using negative numbers (thanks, ghost of @tannewt sitting on one shoulder) * Fix several calculations of height Testing performed (matrixportal): * set up a serpentine 64x64 virtual display with 2 64x32 tiles * tried all 4 rotations * looked at output of REPL
Diffstat (limited to 'shared-module/rgbmatrix/RGBMatrix.h')
-rw-r--r--shared-module/rgbmatrix/RGBMatrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/rgbmatrix/RGBMatrix.h b/shared-module/rgbmatrix/RGBMatrix.h
index 7fce73c8b..4a0e9235e 100644
--- a/shared-module/rgbmatrix/RGBMatrix.h
+++ b/shared-module/rgbmatrix/RGBMatrix.h
@@ -44,5 +44,6 @@ typedef struct {
bool core_is_initialized;
bool paused;
bool doublebuffer;
+ bool serpentine;
int8_t tile;
} rgbmatrix_rgbmatrix_obj_t;