mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Checking in work so I don't lose it. Nothing's broke with the build.
This commit is contained in:
@@ -49,6 +49,7 @@ HTTPServer *insecureServer;
|
||||
// Our API to handle messages to and from the radio.
|
||||
HttpAPI webAPI;
|
||||
|
||||
|
||||
// Declare some handler functions for the various URLs on the server
|
||||
void handleAPIv1FromRadio(HTTPRequest *req, HTTPResponse *res);
|
||||
void handleAPIv1ToRadio(HTTPRequest *req, HTTPResponse *res);
|
||||
@@ -1213,13 +1214,3 @@ void replaceAll(std::string &str, const std::string &from, const std::string &to
|
||||
start_pos += to.length(); // In case 'to' contains 'from', like replacing 'x' with 'yx'
|
||||
}
|
||||
}
|
||||
|
||||
HttpServer::HttpServer() : concurrency::OSThread("HttpServer") {
|
||||
DEBUG_MSG("22**********************************\n");
|
||||
}
|
||||
|
||||
int32_t HttpServer::runOnce()
|
||||
{
|
||||
DEBUG_MSG("11**********************************\n");
|
||||
return 200; // Poll our GPIOs every 200ms (FIXME, make adjustable via protobuf arg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user