Require SD card or >4MB flash (#545)
This commit is contained in:
committed by
GitHub
parent
90afba647e
commit
05720821f8
@@ -14,8 +14,6 @@
|
||||
|
||||
namespace tt::app::chat {
|
||||
|
||||
constexpr auto* CHAT_SETTINGS_FILE = "/data/settings/chat.properties";
|
||||
|
||||
struct ChatSettingsData {
|
||||
uint32_t senderId = 0; // Unique device ID (randomly generated on first launch)
|
||||
std::string nickname = "Device";
|
||||
|
||||
@@ -97,6 +97,9 @@ public:
|
||||
// Global accessor for controlling the WebServer service
|
||||
void setWebServerEnabled(bool enabled);
|
||||
|
||||
// Returns whether the HTTP server is actually running right now (not just the persisted setting)
|
||||
bool isWebServerEnabled();
|
||||
|
||||
// Get the pubsub for subscribing to WebServer events
|
||||
std::shared_ptr<PubSub<WebServerEvent>> getPubsub();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user