mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-20 08:27:13 +00:00
Fix a compile warning
This commit is contained in:
parent
851149954a
commit
827ba94e16
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@
|
|||
#define ST7565_V0_RATIO(N) ST7565_WRITE_BYTE(0x20 | ((N) & 0x7))
|
||||
#define ST7565_CONTRAST(N) do{ ST7565_WRITE_BYTE(0x81); ST7565_WRITE_BYTE(N); }while(0)
|
||||
|
||||
#define ST7565_COLUMN_ADR(N) do{ ST7565_WRITE_BYTE(0x10 | ((N) >> 4) & 0xF); ST7565_WRITE_BYTE(0x00 | ((N) & 0xF)); }while(0)
|
||||
#define ST7565_COLUMN_ADR(N) do{ ST7565_WRITE_BYTE(0x10 | (((N) >> 4) & 0xF)); ST7565_WRITE_BYTE((N) & 0xF); }while(0)
|
||||
#define ST7565_PAGE_ADR(N) ST7565_WRITE_BYTE(0xB0 | (N))
|
||||
#define ST7565_START_LINE(N) ST7565_WRITE_BYTE(0x40 | (N))
|
||||
#define ST7565_SLEEP_MODE() ST7565_WRITE_BYTE(0xAC)
|
||||
|
|
Loading…
Reference in a new issue