don't burn so much cpu spinning in loop()

This commit is contained in:
geeksville
2020-02-07 16:12:55 -08:00
parent 6f592fbb6b
commit 039f18c80d
3 changed files with 19 additions and 6 deletions

View File

@@ -1,4 +1,8 @@
#pragma once
void screen_print(const char * text);
void screen_loop(), screen_setup(), screen_on(), screen_off(), screen_show_logo();
/// @return how many msecs can we sleep before we want service again
uint32_t screen_loop();
void screen_setup(), screen_on(), screen_off(), screen_show_logo();