File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
shared-module/sharpdisplay Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -183,8 +183,6 @@ void common_hal_sharpdisplay_framebuffer_swapbuffers(sharpdisplay_framebuffer_ob
183183 uint8_t * data = self -> bufinfo .buf ;
184184 data [0 ] ^= SHARPMEM_BIT_VCOM_LSB ;
185185
186- #define PARTIAL_UPDATES (1)
187- #if PARTIAL_UPDATES
188186 common_hal_busio_spi_write (self -> bus , data ++ , 1 );
189187
190188 // output each changed row
@@ -198,9 +196,6 @@ void common_hal_sharpdisplay_framebuffer_swapbuffers(sharpdisplay_framebuffer_ob
198196
199197 // output a trailing zero
200198 common_hal_busio_spi_write (self -> bus , data , 1 );
201- #else
202- common_hal_busio_spi_write (self -> bus , data , self -> bufinfo .len );
203- #endif
204199
205200 // set chip select low
206201 common_hal_digitalio_digitalinout_set_value (& self -> chip_select , false);
You can’t perform that action at this time.
0 commit comments