Use PGM serial strings
This commit is contained in:
@ -294,7 +294,7 @@ namespace Anycubic {
|
||||
void ChironTFT::SendtoTFTLN(PGM_P str = nullptr) {
|
||||
if (str != nullptr) {
|
||||
#if ACDEBUG(AC_SOME)
|
||||
SERIAL_ECHO("> ");
|
||||
SERIAL_ECHOPGM("> ");
|
||||
#endif
|
||||
SendtoTFT(str);
|
||||
#if ACDEBUG(AC_SOME)
|
||||
|
@ -189,12 +189,12 @@ void Touch::touch(touch_control_t *control) {
|
||||
}
|
||||
|
||||
if (calibration_state == CALIBRATION_SUCCESS) {
|
||||
SERIAL_ECHOLN("Touch screen calibration completed");
|
||||
SERIAL_ECHOLNPGM("Touch screen calibration completed");
|
||||
SERIAL_ECHOLNPAIR("TOUCH_CALIBRATION_X ", calibration.x);
|
||||
SERIAL_ECHOLNPAIR("TOUCH_CALIBRATION_Y ", calibration.y);
|
||||
SERIAL_ECHOLNPAIR("TOUCH_OFFSET_X ", calibration.offset_x);
|
||||
SERIAL_ECHOLNPAIR("TOUCH_OFFSET_Y ", calibration.offset_y);
|
||||
SERIAL_ECHO("TOUCH_ORIENTATION "); if (calibration.orientation == TOUCH_LANDSCAPE) SERIAL_ECHOLN("TOUCH_LANDSCAPE"); else SERIAL_ECHOLN("TOUCH_PORTRAIT");
|
||||
SERIAL_ECHOPGM("TOUCH_ORIENTATION "); if (calibration.orientation == TOUCH_LANDSCAPE) SERIAL_ECHOLNPGM("TOUCH_LANDSCAPE"); else SERIAL_ECHOLNPGM("TOUCH_PORTRAIT");
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
|
Reference in New Issue
Block a user