🐛 ExtUI F() followups
Followup to 12b5d997a2
This commit is contained in:
committed by
Scott Lahteine
parent
3d102a77ca
commit
d9f7de7a24
@@ -315,7 +315,7 @@ void ChironTFT::PrintComplete() {
|
||||
setSoftEndstopState(true); // enable endstops
|
||||
}
|
||||
|
||||
void ChironTFT::SendtoTFT(FSTR_P const fstr) { // A helper to print PROGMEM string to the panel
|
||||
void ChironTFT::SendtoTFT(FSTR_P const fstr/*=nullptr*/) { // A helper to print PROGMEM string to the panel
|
||||
#if ACDEBUG(AC_SOME)
|
||||
SERIAL_ECHOF(fstr);
|
||||
#endif
|
||||
@@ -323,7 +323,7 @@ void ChironTFT::SendtoTFT(FSTR_P const fstr) { // A helper to print PROGMEM str
|
||||
while (const char c = pgm_read_byte(str++)) TFTSer.write(c);
|
||||
}
|
||||
|
||||
void ChironTFT::SendtoTFTLN(FSTR_P const fstr) {
|
||||
void ChironTFT::SendtoTFTLN(FSTR_P const fstr/*=nullptr*/) {
|
||||
if (fstr) {
|
||||
#if ACDEBUG(AC_SOME)
|
||||
SERIAL_ECHOPGM("> ");
|
||||
|
@@ -67,8 +67,8 @@ class ChironTFT {
|
||||
static void StatusChange(const char * const);
|
||||
static void PowerLossRecovery();
|
||||
static void PrintComplete();
|
||||
static void SendtoTFT(FSTR_P const);
|
||||
static void SendtoTFTLN(FSTR_P const);
|
||||
static void SendtoTFT(FSTR_P const=nullptr);
|
||||
static void SendtoTFTLN(FSTR_P const=nullptr);
|
||||
private:
|
||||
static void DetectPanelType();
|
||||
static bool ReadTFTCommand();
|
||||
|
Reference in New Issue
Block a user