- Set MINTEMP to 1 degree celsius

- Bump Verison to 1.1.9
- Bump distribution date
- Add CodeValueInt function to prepare Laser support
This commit is contained in:
Knutwurst
2021-01-13 15:36:03 +01:00
parent 57fb9a40a0
commit 5d1444295b
4 changed files with 28 additions and 22 deletions

View File

@@ -428,6 +428,11 @@ void AnycubicTouchscreenClass::ParkAfterStop()
#endif
}
int AnycubicTouchscreenClass::CodeValueInt()
{
return (atoi(&TFTcmdbuffer[TFTbufindr][TFTstrchr_pointer - TFTcmdbuffer[TFTbufindr] + 1]));
}
float AnycubicTouchscreenClass::CodeValue()
{
return (strtod(&TFTcmdbuffer[TFTbufindr][TFTstrchr_pointer - TFTcmdbuffer[TFTbufindr] + 1], NULL));
@@ -1806,8 +1811,8 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
else if (CodeSeen('C'))
;
}
HARDWARE_SERIAL_ENTER();
break;
HARDWARE_SERIAL_ENTER();
break;
case 33: // A33 get version info
{
HARDWARE_SERIAL_PROTOCOLPGM("J33 ");