mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 02:39:57 +00:00
remove unused Preferences code (cc @mc-hamster for review)
(noticed because of a compiler warning)
This commit is contained in:
parent
fc96500329
commit
c7f411fc7c
@ -11,7 +11,6 @@
|
||||
#include <HTTPBodyParser.hpp>
|
||||
#include <HTTPMultipartBodyParser.hpp>
|
||||
#include <HTTPURLEncodedBodyParser.hpp>
|
||||
#include <Preferences.h>
|
||||
#include <SPIFFS.h>
|
||||
|
||||
#ifndef NO_ESP32
|
||||
@ -837,11 +836,6 @@ void handleReport(HTTPRequest *req, HTTPResponse *res)
|
||||
ResourceParameters *params = req->getParams();
|
||||
std::string content;
|
||||
|
||||
Preferences preferences;
|
||||
preferences.begin("meshtastic", false);
|
||||
|
||||
// uint32_t rebootCounter = preferences.getUInt("rebootCounter", 0);
|
||||
|
||||
if (!params->getQueryParameter("content", content)) {
|
||||
content = "json";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user