Change TAB Space

This commit is contained in:
nopnop2002 2019-06-03 19:27:01 +09:00
parent 306c4def7b
commit a6cad5d365
2 changed files with 30 additions and 32 deletions

View File

@ -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);