|
|
@ -87,6 +87,16 @@ void WEB::begin(void) { |
|
|
|
server.send(200, "text/html", index_html_str); |
|
|
|
}); |
|
|
|
|
|
|
|
// FC Flash mode
|
|
|
|
server.on("/flashmode", HTTP_GET, []() { |
|
|
|
server.sendHeader("Connection", "close"); |
|
|
|
server.send(200, "text/html", "FC FLASH MODE"); |
|
|
|
|
|
|
|
// Disable SBUS
|
|
|
|
sbus_enable = false; |
|
|
|
GPOC = (1 << SBUS_PORT); |
|
|
|
}); |
|
|
|
|
|
|
|
// Reset
|
|
|
|
server.on("/reset", HTTP_GET, []() { |
|
|
|
server.sendHeader("Connection", "close"); |
|
|
|