🐛 ExtUI F() followups

Followup to 12b5d997a2
This commit is contained in:
Scott Lahteine
2021-10-04 19:50:14 -05:00
committed by Scott Lahteine
parent 3d102a77ca
commit d9f7de7a24
4 changed files with 8 additions and 7 deletions

View File

@ -110,7 +110,7 @@ void NextionTFT::StatusChange(const char * const msg) {
SEND_VALasTXT("tmppage.M117", msg);
}
void NextionTFT::SendtoTFT(FSTR_P fstr) { // A helper to print PROGMEM string to the panel
void NextionTFT::SendtoTFT(FSTR_P const fstr/*=nullptr*/) { // A helper to print PROGMEM string to the panel
#if NEXDEBUG(N_SOME)
DEBUG_ECHOF(fstr);
#endif

View File

@ -42,10 +42,11 @@ class NextionTFT {
NextionTFT();
static void Startup();
static void IdleLoop();
static void PrinterKilled(PGM_P, PGM_P);
static void PrinterKilled(FSTR_P const, FSTR_P const);
static void ConfirmationRequest(const char * const);
static void StatusChange(const char * const);
static void SendtoTFT(FSTR_P const);
static void SendtoTFT(FSTR_P const=nullptr);
//static void SendtoTFTLN(FSTR_P const=nullptr);
static void UpdateOnChange();
static void PrintFinished();
static void PanelInfo(uint8_t);