drivers: ssd1306: Support GPIO reset function
If dts has reset-gpios information, reset it. Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
This commit is contained in:
parent
0122bacd2c
commit
e0a8990ea7
2 changed files with 22 additions and 0 deletions
|
@ -106,4 +106,7 @@
|
|||
#define SSD1306_READ_MODIFY_WRITE_START 0xe0
|
||||
#define SSD1306_READ_MODIFY_WRITE_END 0xee
|
||||
|
||||
/* time constants in ms */
|
||||
#define SSD1306_RESET_DELAY 1
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue