diff --git a/examples/LinkMobile_demo/src/main.cpp b/examples/LinkMobile_demo/src/main.cpp index c0214c6..7c98439 100644 --- a/examples/LinkMobile_demo/src/main.cpp +++ b/examples/LinkMobile_demo/src/main.cpp @@ -130,10 +130,14 @@ void readConfiguration() { ; } +std::string lastLoggedText = ""; void log(std::string text) { + if (text == lastLoggedText) + return; tte_erase_screen(); tte_write("#{P:0,0}"); tte_write(text.c_str()); + lastLoggedText = text; } void waitFor(u16 key) { diff --git a/lib/LinkMobile.hpp b/lib/LinkMobile.hpp index 1500121..860a7e7 100644 --- a/lib/LinkMobile.hpp +++ b/lib/LinkMobile.hpp @@ -942,3 +942,8 @@ inline void LINK_MOBILE_ISR_TIMER() { #undef _LMLOG_ #endif // LINK_MOBILE_H + +// TODO: Stop keeps running commands and changing state +// TODO: Error screen +// TODO: Keep adapter alive with Wait For Telephone Call +// TODO: Write text fast