Skip to content

Commit

Permalink
Restore CE0 line clear command (see juj@d2f6932#r34373901 and juj#82 …
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Jul 19, 2019
1 parent 0b46b04 commit b2eeec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ int InitSPI()
// fbcp-ili9341 assumes exclusive access to the SPI0 bus, and exclusive presence of only one device on the bus,
// which is (permanently) activated here.
SET_GPIO_MODE(GPIO_SPI0_CE0, 0x01);
CLEAR_GPIO(GPIO_SPI0_CE0);
#ifdef DISPLAY_USES_CS1
SET_GPIO_MODE(GPIO_SPI0_CE1, 0x01);
#endif
Expand Down

0 comments on commit b2eeec1

Please sign in to comment.