Browse Source

Clean up some formatting

pull/1/head
Scott Lahteine 7 years ago
parent
commit
945139e328
  1. 2
      Marlin/src/lcd/fontutils.h
  2. 10
      Marlin/src/lcd/u8g_fontutf8.h

2
Marlin/src/lcd/fontutils.h

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

10
Marlin/src/lcd/u8g_fontutf8.h

@ -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…
Cancel
Save