Unify optional hardware variants and add runtime R8 TFT rotation

This commit is contained in:
mikecarper committed 2026-10-18 20:25:13 -07:00
1 parent 3848626702
commit 9c78ccde57
61 files changed
+4853 -2518

No files matched your search

+4
View File
@@ -2369,6 +2369,10 @@ void WebConfigServer::handleConfigGet(AsyncWebServerRequest* req) {
screen["usb_mode"] = mesh::ui::displayModeName(display_prefs.usb.mode);
screen["usb_timeout"] = display_prefs.usb.seconds;
screen["pairing"] = mesh::ui::displayPairingSupported();
screen["rotation_supported"] = node.display_rotation_supported;
if (node.display_rotation_supported) {
screen["rotation"] = node.display_rotation_degrees;
}
#endif
radio["repeat"] = (bool)node.repeat;
radio["flood_max"] = node.flood_max;