mirror of
https://github.com/olikraus/u8g2.git
synced 2026-09-14 18:53:22 +00:00
Merge pull request #1614 from wuhanstudio/unified-u8g2lib
Use yield() only when #defiend ARDUINO
This commit is contained in:
@@ -44,7 +44,9 @@ static Print *u8g2_print_for_screenshot;
|
||||
|
||||
void u8g2_print_callback(const char *s)
|
||||
{
|
||||
#ifdef ARDUINO
|
||||
yield();
|
||||
#endif
|
||||
u8g2_print_for_screenshot->print(s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user