From 995067eabe8c386e9f8f9088a7d0f03535f4bf30 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 21 Nov 2019 17:24:28 +0000 Subject: stop using deprecated macros --- DakkarColor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DakkarColor.h') 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( -- cgit v1.2.3