Update u8g2_setup.c

This commit is contained in:
theeprawn 2020-10-26 00:10:57 +00:00
parent 4b3d9ef1e8
commit bbd450fcac
1 changed files with 6 additions and 0 deletions

View File

@ -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
}
/*