mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
replace STANDALONE_DUMP with a parameter set during tests call test_test_set_all_active
This commit is contained in:
@@ -230,9 +230,17 @@ class System {
|
||||
return appused_;
|
||||
}
|
||||
|
||||
static bool test_set_all_active() {
|
||||
return test_set_all_active_;
|
||||
}
|
||||
static void test_set_all_active(bool n) {
|
||||
test_set_all_active_ = n;
|
||||
}
|
||||
|
||||
private:
|
||||
static uuid::log::Logger logger_;
|
||||
static bool restart_requested_;
|
||||
static bool test_set_all_active_; // force all entities in a device to have a value
|
||||
|
||||
// button
|
||||
static PButton myPButton_; // PButton instance
|
||||
|
||||
Reference in New Issue
Block a user