mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 15:17:37 +03:00
Refactor hotspot scheduler settings for improved clarity and organization
This commit is contained in:
parent
f1ead2101a
commit
81d4f76679
@ -91,16 +91,16 @@ class CrossPointSettings {
|
|||||||
// Screen margin setting (in pixels, default 0)
|
// Screen margin setting (in pixels, default 0)
|
||||||
uint8_t screenMargin = 0;
|
uint8_t screenMargin = 0;
|
||||||
|
|
||||||
// Network credentials for FTP and HTTP se // 0 = disabled, 1 = enabled
|
// Network credentials for FTP and HTTP servers
|
||||||
uint8_t hotspotSchedulerHour = 12; // Hour (0-23)
|
std::string ftpUsername = "crosspoint";
|
||||||
uint8_t hotspotSchedulerMinute = 0;
|
std::string ftpPassword = "reader";
|
||||||
std::string httpUsername = "crosspoint";
|
std::string httpUsername = "crosspoint";
|
||||||
std::string httpPassword = "reader";
|
std::string httpPassword = "reader";
|
||||||
|
|
||||||
// Hotspot scheduler settings
|
// Hotspot scheduler settings
|
||||||
uint8_t hotspotSchedulerEnabled = 0; // 0 = disabled, 1 = enabled
|
uint8_t hotspotSchedulerEnabled = 0; // 0 = disabled, 1 = enabled
|
||||||
uint8_t hotspotSchedulerHour = 12; // Hour (0-23)
|
uint8_t hotspotSchedulerHour = 12; // Hour (0-23)
|
||||||
uint8_t hotspotSchedulerMinute = 0; // Minute (0-59)
|
uint8_t hotspotSchedulerMinute = 0; // Minute (0-59)
|
||||||
uint8_t hotspotSchedulerShutdownTime = SHUTDOWN_30_MIN; // Default 30 minutes
|
uint8_t hotspotSchedulerShutdownTime = SHUTDOWN_30_MIN; // Default 30 minutes
|
||||||
|
|
||||||
~CrossPointSettings() = default;
|
~CrossPointSettings() = default;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user