mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 03:28:53 +08:00
improve lcd mem
This commit is contained in:
parent
a467d214a2
commit
678e1c9b08
@ -44,8 +44,7 @@ typedef struct _lcd_mem_t {
|
||||
|
||||
} lcd_mem_t;
|
||||
|
||||
#define lcd_mem_set_line_length(lcd, value) \
|
||||
((lcd_mem_t*)lcd)->line_length = ((lcd_mem_t*)lcd)->offline_line_length = value;
|
||||
#define lcd_mem_set_line_length(lcd, value) ((lcd_mem_t*)lcd)->line_length = ((lcd_mem_t*)lcd)->online_line_length = value;
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user