little fix ( copy of case ?? )
This commit is contained in:
parent
3987a16f21
commit
a2b93fdd0b
1 changed files with 0 additions and 9 deletions
|
|
@ -128,15 +128,6 @@ int ssd1306_command(const ssd1306_t *dev, uint8_t cmd)
|
|||
gpio_write(dev->cs_pin, true);
|
||||
break;
|
||||
#endif
|
||||
#if (SSD1306_SPI3_SUPPORT)
|
||||
case SSD1306_PROTO_SPI3:
|
||||
gpio_write(dev->cs_pin, false);
|
||||
spi_set_command(SPI_BUS,1,0); // command mode
|
||||
spi_transfer_8(SPI_BUS, cmd);
|
||||
spi_clear_command(SPI_BUS);
|
||||
gpio_write(dev->cs_pin, true);
|
||||
break;
|
||||
#endif
|
||||
#if (SSD1306_SPI3_SUPPORT)
|
||||
case SSD1306_PROTO_SPI3:
|
||||
gpio_write(dev->cs_pin, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue