Cleanup unused anycubic related code

This commit is contained in:
Knutwurst
2020-07-26 22:29:18 +02:00
parent a7094a923d
commit a709457baa
3 changed files with 2 additions and 35 deletions

View File

@@ -1076,10 +1076,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
if( (int)(strtod(&TFTcmdbuffer[TFTbufindw][TFTstrchr_pointer - TFTcmdbuffer[TFTbufindw] + 1], NULL)) != checksum)
{
HARDWARE_SERIAL_ERROR_START;
NEWFlushSerialRequestResend();
HARDWARE_SERIAL_ERROR_START;
NEWFlushSerialRequestResend();
HardwareSerial.flush();
serial3_count = 0;
return;
}
@@ -1088,7 +1085,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
else
{
HARDWARE_SERIAL_ERROR_START;
NEWFlushSerialRequestResend();
HardwareSerial.flush();
serial3_count = 0;
return;
}