Update u8g2_setup.c
This commit is contained in:
parent
4b3d9ef1e8
commit
bbd450fcac
|
@ -101,6 +101,12 @@ void u8g2_SetupBuffer(u8g2_t *u8g2, uint8_t *buf, uint8_t tile_buf_height, u8g2_
|
|||
#ifdef U8G2_WITH_FONT_ROTATION
|
||||
u8g2->font_decode.dir = 0;
|
||||
#endif
|
||||
|
||||
#ifdef U8G2_WITH_FONT_SCROLLING
|
||||
u8g2->font_decode.scroll_x = 0;
|
||||
u8g2->font_decode.scroll_y = 0;
|
||||
u8g2->font_decode.gap = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue