Fix missing calibrate button

This commit is contained in:
fvanroie 2021-01-10 19:34:03 +01:00
parent fca5d9ca06
commit 55befbf838

View File

@ -1120,7 +1120,7 @@ void webHandleGuiConfig()
httpMessage += F("<p><button type='submit' name='save' value='gui'>Save Settings</button></p></form>"); httpMessage += F("<p><button type='submit' name='save' value='gui'>Save Settings</button></p></form>");
#if TOUCH_DRIVER == 2046 && USE_TFT_ESPI > 0 #if TOUCH_DRIVER == 2046 && defined(TOUCH_CS)
httpMessage += PSTR("<p><form method='get' action='/config/gui'><button type='submit' name='action' " httpMessage += PSTR("<p><form method='get' action='/config/gui'><button type='submit' name='action' "
"value='calibrate'>Calibrate</button></form></p>"); "value='calibrate'>Calibrate</button></form></p>");
#endif #endif