diff options
author | dakkar <dakkar@thenautilus.net> | 2019-11-21 17:24:28 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2019-11-21 17:24:28 +0000 |
commit | 995067eabe8c386e9f8f9088a7d0f03535f4bf30 (patch) | |
tree | 81ba7c4bd65aa7a29b2a9353a641de5f307c757e /DakkarColor.h | |
parent | switch to linear addressing (diff) | |
download | keyboardio-model01-995067eabe8c386e9f8f9088a7d0f03535f4bf30.tar.gz keyboardio-model01-995067eabe8c386e9f8f9088a7d0f03535f4bf30.tar.bz2 keyboardio-model01-995067eabe8c386e9f8f9088a7d0f03535f4bf30.zip |
stop using deprecated macros
Diffstat (limited to 'DakkarColor.h')
-rw-r--r-- | DakkarColor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DakkarColor.h b/DakkarColor.h index 71d858f..2165764 100644 --- a/DakkarColor.h +++ b/DakkarColor.h @@ -16,7 +16,7 @@ public: } vf; }; - typedef const uint8_t (*color_index_map)[ROWS*COLS]; + typedef const uint8_t (*color_index_map)[Kaleidoscope.device().matrix_rows * Kaleidoscope.device().matrix_columns]; typedef const colorSrc *color_src_array; DakkarColor( |