mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 17:56:25 -04:00
Change TAB Space
This commit is contained in:
parent
306c4def7b
commit
a6cad5d365
@ -222,7 +222,6 @@ void spi_scroll(SSD1306_t * dev, ssd1306_scroll_type_t scroll)
|
||||
spi_master_write_command(dev, OLED_CMD_VERTICAL); // A3
|
||||
spi_master_write_command(dev, 0x00);
|
||||
if (dev->_height == 64)
|
||||
//spi_master_write_command(dev, 0x7F);
|
||||
spi_master_write_command(dev, 0x40);
|
||||
if (dev->_height == 32)
|
||||
spi_master_write_command(dev, 0x20);
|
||||
@ -241,7 +240,6 @@ void spi_scroll(SSD1306_t * dev, ssd1306_scroll_type_t scroll)
|
||||
spi_master_write_command(dev, OLED_CMD_VERTICAL); // A3
|
||||
spi_master_write_command(dev, 0x00);
|
||||
if (dev->_height == 64)
|
||||
//spi_master_write_command(dev, 0x7F);
|
||||
spi_master_write_command(dev, 0x40);
|
||||
if (dev->_height == 32)
|
||||
spi_master_write_command(dev, 0x20);
|
||||
|
Loading…
Reference in New Issue
Block a user