Skip to content

Commit

Permalink
add missing deselect/select in spin2 driver Clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
avsa242 committed Feb 13, 2022
1 parent ef003f4 commit 1c36174
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions display.oled.ssd130x.spin2
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ PUB Clear()
i2c.stop
#elseifdef SSD130X_SPI
pinw(_DC, DATA)
pinl(_CS)
spi.wrbytex(_bgcolor, _buff_sz)
pinh(_CS)
#endif
#else
bytefill(_ptr_drawbuffer, _bgcolor, _buff_sz)
Expand Down

0 comments on commit 1c36174

Please sign in to comment.