drivers: ssd1673: remove unnecessary defines
Remove unnecessary defines. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
090ef041e8
commit
fbd527d562
1 changed files with 2 additions and 6 deletions
|
@ -45,18 +45,14 @@ struct ssd1673_data {
|
||||||
u8_t scan_mode;
|
u8_t scan_mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SSD1673_LAST_LUT_INITIAL 0
|
static u8_t ssd1673_lut_initial[] = {
|
||||||
#define SSD1673_LAST_LUT_DEFAULT 255
|
|
||||||
#define SSD1673_LUT_SIZE 29
|
|
||||||
|
|
||||||
static u8_t ssd1673_lut_initial[SSD1673_LUT_SIZE] = {
|
|
||||||
0x22, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x11,
|
0x22, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x11,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E,
|
0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E,
|
||||||
0x01, 0x00, 0x00, 0x00, 0x00
|
0x01, 0x00, 0x00, 0x00, 0x00
|
||||||
};
|
};
|
||||||
|
|
||||||
static u8_t ssd1673_lut_default[SSD1673_LUT_SIZE] = {
|
static u8_t ssd1673_lut_default[] = {
|
||||||
0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x0F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x0F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue