mirror of
https://github.com/olikraus/u8g2.git
synced 2026-09-14 10:42:52 +00:00
use yield() only #defined 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