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:
Glenn Ruben Bakke 2017-01-04 21:06:51 +01:00
parent 6a077806c6
commit 4c0bb63e2b
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;