nrf5: Moving color defines in lcd_mono_fb from .c to .h so that it can be reused by other modules.
This commit is contained in:
parent
6a077806c6
commit
4c0bb63e2b
@ -37,9 +37,6 @@
|
||||
|
||||
#if MICROPY_PY_LCD_MONO_FB
|
||||
|
||||
#define LCD_BLACK 0
|
||||
#define LCD_WHITE 1
|
||||
|
||||
typedef struct {
|
||||
mp_obj_base_t base;
|
||||
fb_byte_t * fb_bytes;
|
||||
|
@ -31,6 +31,9 @@ extern const mp_obj_module_t mp_module_lcd_mono_fb;
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define LCD_BLACK 0
|
||||
#define LCD_WHITE 1
|
||||
|
||||
typedef struct {
|
||||
uint8_t bit0 : 1;
|
||||
uint8_t bit1 : 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user