mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
enable API for test
This commit is contained in:
@@ -1385,8 +1385,7 @@ bool System::command_info(const char * value, const int8_t id, JsonObject & outp
|
||||
#if defined(EMSESP_DEBUG)
|
||||
// run a test, e.g. http://ems-esp/api?device=system&cmd=test&data=boiler
|
||||
bool System::command_test(const char * value, const int8_t id) {
|
||||
Test::run_test(value, id);
|
||||
return true;
|
||||
return Test::run_test(value, id);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user