mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Trivial changes from review of PR 115
This commit is contained in:
@@ -179,7 +179,7 @@
|
|||||||
/* Bytes per logical row and actual device row */
|
/* Bytes per logical row and actual device row */
|
||||||
|
|
||||||
#if defined(CONFIG_LCD_SH1106_OLED_132)
|
#if defined(CONFIG_LCD_SH1106_OLED_132)
|
||||||
#define SSD1306_DEV_XSTRIDE (SSD1306_DEV_XRES >> 3)
|
# define SSD1306_DEV_XSTRIDE (SSD1306_DEV_XRES >> 3)
|
||||||
#else
|
#else
|
||||||
# define SSD1306_DEV_XSTRIDE (SSD1306_DEV_XRES >> 3)
|
# define SSD1306_DEV_XSTRIDE (SSD1306_DEV_XRES >> 3)
|
||||||
#endif
|
#endif
|
||||||
@@ -285,3 +285,4 @@ static inline void ssd1306_configspi(FAR struct spi_dev_s *spi)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __DRIVERS_LCD_SSD1306_H */
|
#endif /* __DRIVERS_LCD_SSD1306_H */
|
||||||
|
|
||||||
|
|||||||
@@ -149,3 +149,4 @@ void ssd1306_sendblk(FAR struct ssd1306_dev_s *priv, uint8_t *data, uint8_t len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_LCD_SSD1306 &7 CONFIG_LCD_SSD1306_I2C */
|
#endif /* CONFIG_LCD_SSD1306 &7 CONFIG_LCD_SSD1306_I2C */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user