Clean up some formatting
This commit is contained in:
parent
9c235ef821
commit
945139e328
@ -29,7 +29,7 @@ uint8_t read_byte_rom(uint8_t * str);
|
|||||||
|
|
||||||
#ifndef NUM_ARRAY
|
#ifndef NUM_ARRAY
|
||||||
#define NUM_ARRAY(a) (sizeof(a)/sizeof((a)[0]))
|
#define NUM_ARRAY(a) (sizeof(a)/sizeof((a)[0]))
|
||||||
#endif // NUM_ARRAY
|
#endif
|
||||||
|
|
||||||
typedef uint16_t pixel_len_t;
|
typedef uint16_t pixel_len_t;
|
||||||
#define PIXEL_LEN_NOLIMIT ((pixel_len_t)(-1))
|
#define PIXEL_LEN_NOLIMIT ((pixel_len_t)(-1))
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
#define _UxGT(a) a
|
#define _UxGT(a) a
|
||||||
|
|
||||||
typedef struct _uxg_fontinfo_t {
|
typedef struct _uxg_fontinfo_t {
|
||||||
uint16_t page;
|
uint16_t page;
|
||||||
uint8_t begin;
|
uint8_t begin;
|
||||||
uint8_t end;
|
uint8_t end;
|
||||||
uint16_t size;
|
uint16_t size;
|
||||||
const u8g_fntpgm_uint8_t *fntdata;
|
const u8g_fntpgm_uint8_t *fntdata;
|
||||||
} uxg_fontinfo_t;
|
} uxg_fontinfo_t;
|
||||||
|
|
||||||
int uxg_SetUtf8Fonts (const uxg_fontinfo_t * fntinfo, int number); // fntinfo is type of PROGMEM
|
int uxg_SetUtf8Fonts (const uxg_fontinfo_t * fntinfo, int number); // fntinfo is type of PROGMEM
|
||||||
|
Loading…
Reference in New Issue
Block a user