Fixed build
This commit is contained in:
parent
002ed86bc2
commit
30ce7f099d
68 changed files with 611 additions and 611 deletions
|
|
@ -114,9 +114,9 @@ void disablePeripherals();
|
|||
#endif
|
||||
|
||||
#ifdef DISPLAY_MODEL
|
||||
extern DISPLAY_MODEL *u8g2;
|
||||
#define U8G2_HOR_ALIGN_CENTER(t) ((u8g2->getDisplayWidth() - (u8g2->getUTF8Width(t))) / 2)
|
||||
#define U8G2_HOR_ALIGN_RIGHT(t) ( u8g2->getDisplayWidth() - u8g2->getUTF8Width(t))
|
||||
extern U8G2 *disp;
|
||||
#define U8G2_HOR_ALIGN_CENTER(t) ((disp->getDisplayWidth() - (disp->getUTF8Width(t))) / 2)
|
||||
#define U8G2_HOR_ALIGN_RIGHT(t) ( disp->getDisplayWidth() - disp->getUTF8Width(t))
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue