Correct u8g2log init

This commit is contained in:
Cedric Girard 2019-05-07 20:10:38 +02:00
parent e515beb4d0
commit 28025c7de6
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4

View file

@ -49,7 +49,7 @@ void setup() {
u8g2.setFont(u8g2_font_t0_15_mf);
u8g2.enableUTF8Print();
u8g2log.begin(U8LOG_WIDTH, U8LOG_HEIGHT, u8log_buffer);
u8g2log.begin(u8g2, U8LOG_WIDTH, U8LOG_HEIGHT, u8log_buffer);
u8g2log.setLineHeightOffset(0); // set extra space between lines in pixel, this can be negative
u8g2log.setRedrawMode(0); // 0: Update screen with newline, 1: Update screen for every char