1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

[2.0.x] Fix compile warning (#10931)

This commit is contained in:
Giuliano 2018-06-06 05:44:34 +02:00 committed by Scott Lahteine
parent a5b0bf86f1
commit eb1026d438

View File

@ -75,7 +75,7 @@
#define ST7565_V0_RATIO(N) (0x20 | ((N) & 0x7)) #define ST7565_V0_RATIO(N) (0x20 | ((N) & 0x7))
#define ST7565_CONTRAST(N) (0x81), (N) #define ST7565_CONTRAST(N) (0x81), (N)
#define ST7565_COLUMN_ADR(N) (0x10 | ((N) >> 4) & 0xF), (0x00 | ((N) & 0xF)) #define ST7565_COLUMN_ADR(N) (0x10 | (((N) >> 4) & 0xF)), ((N) & 0xF)
#define ST7565_PAGE_ADR(N) (0xB0 | (N)) #define ST7565_PAGE_ADR(N) (0xB0 | (N))
#define ST7565_START_LINE(N) (0x40 | (N)) #define ST7565_START_LINE(N) (0x40 | (N))
#define ST7565_SLEEP_MODE() (0xAC) #define ST7565_SLEEP_MODE() (0xAC)