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
183
183
uint8_t * data = self -> bufinfo .buf ;
184
184
data [0 ] ^= SHARPMEM_BIT_VCOM_LSB ;
185
185
186
- #define PARTIAL_UPDATES (1)
187
- #if PARTIAL_UPDATES
188
186
common_hal_busio_spi_write (self -> bus , data ++ , 1 );
189
187
190
188
// output each changed row
@@ -198,9 +196,6 @@ void common_hal_sharpdisplay_framebuffer_swapbuffers(sharpdisplay_framebuffer_ob
198
196
199
197
// output a trailing zero
200
198
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
204
199
205
200
// set chip select low
206
201
common_hal_digitalio_digitalinout_set_value (& self -> chip_select , false);
You can’t perform that action at this time.
0 commit comments