Unify optional hardware variants and add runtime R8 TFT rotation
This commit is contained in:
1 parent
3848626702
commit
9c78ccde57
61 files changed
+4853
-2518
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user