Pass customPage out to the c++ class.

This commit is contained in:
JohannesWilde 2019-09-08 11:59:21 +02:00
parent a0ed1d9f85
commit 0edd2b1529
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@ class U8G2 : public Print
/* u8g2_buffer.c */
void sendBuffer(void) { u8g2_SendBuffer(&u8g2); }
void clearBuffer(void) { u8g2_ClearBuffer(&u8g2); }
uint8_t customPage(uint8_t page) { return u8g2_CustomPage(&u8g2, page); }
void firstPage(void) { u8g2_FirstPage(&u8g2); }
uint8_t nextPage(void) { return u8g2_NextPage(&u8g2); }