mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-31 02:59:10 +03:00
add listDir to debug too
This commit is contained in:
@@ -1783,6 +1783,7 @@ void Test::add_device(uint8_t device_id, uint8_t product_id) {
|
|||||||
uart_telegram({device_id, EMSESP_DEFAULT_EMS_BUS_ID, EMSdevice::EMS_TYPE_VERSION, 0, product_id, 1, 0});
|
uart_telegram({device_id, EMSESP_DEFAULT_EMS_BUS_ID, EMSdevice::EMS_TYPE_VERSION, 0, product_id, 1, 0});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EMSESP_DEBUG
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
void Test::listDir(fs::FS & fs, const char * dirname, uint8_t levels) {
|
void Test::listDir(fs::FS & fs, const char * dirname, uint8_t levels) {
|
||||||
Serial.println();
|
Serial.println();
|
||||||
@@ -1817,6 +1818,7 @@ void Test::listDir(fs::FS & fs, const char * dirname, uint8_t levels) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace emsesp
|
} // namespace emsesp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user