fix pre-commit error

This commit is contained in:
wts 2024-01-30 20:58:04 +08:00
parent fb0d7246c1
commit bd34750533
3 changed files with 13 additions and 18 deletions

View file

@ -1,8 +1,8 @@
# LPM009M360A display driver configuration options
config LPM009M360A
bool "LPM009M360A display driver"
default n
select SPI
help
Enable driver for LPM009M360A display driver.
bool "LPM009M360A display driver"
default n
select SPI
help
Enable driver for LPM009M360A display driver.

View file

@ -8,15 +8,12 @@
#include <zephyr/kernel.h>
#define LPM009M360A_CMD_NO_UPDATE 0x00
#define LPM009M360A_CMD_BLINKING_BLACK 0x10
#define LPM009M360A_CMD_BLINKING_INVERSION 0x14
#define LPM009M360A_CMD_BLINKING_WHITE 0x18
#define LPM009M360A_CMD_ALL_CLEAR 0x20
#define LPM009M360A_CMD_VCOM 0x40
#define LPM009M360A_CMD_UPDATE 0x80
#define LPM009M360A_CMD_NO_UPDATE 0x00
#define LPM009M360A_CMD_BLINKING_BLACK 0x10
#define LPM009M360A_CMD_BLINKING_INVERSION 0x14
#define LPM009M360A_CMD_BLINKING_WHITE 0x18
#define LPM009M360A_CMD_ALL_CLEAR 0x20
#define LPM009M360A_CMD_VCOM 0x40
#define LPM009M360A_CMD_UPDATE 0x80
#endif /* LPM009M360A_DISPLAY_DRIVER_H__ */
#endif /* LPM009M360A_DISPLAY_DRIVER_H__ */

View file

@ -20,5 +20,3 @@ properties:
color_mode:
type: uint8-array
default: [0x04]