Small fix
This commit is contained in:
parent
06086b0994
commit
c3e12fd35e
1 changed files with 3 additions and 1 deletions
|
|
@ -43,10 +43,12 @@ typedef struct
|
||||||
{
|
{
|
||||||
ssd1306_protocol_t protocol;
|
ssd1306_protocol_t protocol;
|
||||||
#if (SSD1306_I2C_SUPPORT)
|
#if (SSD1306_I2C_SUPPORT)
|
||||||
uint8_t addr; //!< I2C address
|
uint8_t addr; //!< I2C address, used by SSD1306_PROTO_I2C
|
||||||
#endif
|
#endif
|
||||||
|
#if (SSD1306_SPI4_SUPPORT)
|
||||||
uint8_t cs_pin; //!< Chip Select GPIO pin, used by SSD1306_PROTO_SPI3, SSD1306_PROTO_SPI4
|
uint8_t cs_pin; //!< Chip Select GPIO pin, used by SSD1306_PROTO_SPI3, SSD1306_PROTO_SPI4
|
||||||
uint8_t dc_pin; //!< Data/Command GPIO pin, used by SSD1306_PROTO_SPI4
|
uint8_t dc_pin; //!< Data/Command GPIO pin, used by SSD1306_PROTO_SPI4
|
||||||
|
#endif
|
||||||
uint8_t width; //!< Screen width, currently supported 128px, 96px
|
uint8_t width; //!< Screen width, currently supported 128px, 96px
|
||||||
uint8_t height; //!< Screen height, currently supported 16px, 32px, 64px
|
uint8_t height; //!< Screen height, currently supported 16px, 32px, 64px
|
||||||
} ssd1306_t;
|
} ssd1306_t;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue