diff -r d9c5eaf85fab -r 48f29a1d43d6 lib/unigraphic/SSD1322.h --- a/lib/unigraphic/SSD1322.h Mon Oct 04 21:14:39 2021 +0200 +++ b/lib/unigraphic/SSD1322.h Mon Oct 04 21:15:35 2021 +0200 @@ -207,13 +207,6 @@ protected: - mbed::SPI _spi; - DigitalOut _CS; - DigitalOut _RST; - DigitalOut _DC; - volatile DISPLAY_BUFFER_TYPE _pixelBuffer[DISPLAY_BUFFER_ELEMENTS]; // one full frame buffer - DISPLAY_BUFFER_TYPE _trBuffer[DISPLAY_BUFFER_ELEMENTS]; // for sending - const int screensize_X; const int screensize_Y; const int _PAGES; @@ -222,6 +215,13 @@ const int _IC_Y_COMS; const int _IC_PAGES; + mbed::SPI _spi; + DigitalOut _DC; + DigitalOut _CS; + DigitalOut _RST; + volatile DISPLAY_BUFFER_TYPE _pixelBuffer[DISPLAY_BUFFER_ELEMENTS]; // one full frame buffer + DISPLAY_BUFFER_TYPE _trBuffer[DISPLAY_BUFFER_ELEMENTS]; // for sending + // pixel location int cur_x; int cur_y;