mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Only show Calibrate button for XPT2046
This commit is contained in:
parent
52af02c413
commit
eb42b8515d
@ -1112,8 +1112,10 @@ void webHandleGuiConfig()
|
||||
|
||||
httpMessage += F("<p><button type='submit' name='save' value='gui'>Save Settings</button></p></form>");
|
||||
|
||||
#if TOUCH_DRIVER == 2046 && USE_TFT_ESPI > 0
|
||||
httpMessage += PSTR("<p><form method='get' action='/config/gui'><button type='submit' name='action' "
|
||||
"value='calibrate'>Calibrate</button></form></p>");
|
||||
#endif
|
||||
|
||||
httpMessage +=
|
||||
PSTR("<p><form method='get' action='/config'><button type='submit'>Configuration</button></form></p>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user