Commit ac7751d2 authored by Kwon Tae-young's avatar Kwon Tae-young Committed by Anas Nashif
Browse files

drivers: ssd1306: Fix dts read



Modified to read dts information.

Signed-off-by: default avatarKwon Tae-young <tykwon@m2i.co.kr>
parent c478b5bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@ LOG_MODULE_REGISTER(ssd1306);
#include "ssd1306_regs.h"
#include <display/cfb.h>

#if DT_SOLOMON_SSD1306FB_0_PANEL_SEGMENT_REMAP == 1
#if DT_SOLOMON_SSD1306FB_0_SEGMENT_REMAP == 1
#define SSD1306_PANEL_SEGMENT_REMAP	true
#else
#define SSD1306_PANEL_SEGMENT_REMAP	false
#endif

#if DT_SOLOMON_SSD1306FB_0_PANEL_COM_INVDIR == 1
#if DT_SOLOMON_SSD1306FB_0_COM_INVDIR == 1
#define SSD1306_PANEL_COM_INVDIR	true
#else
#define SSD1306_PANEL_COM_INVDIR	false