tidy up EMSESP_DEBUG and EMSESP_TEST

This commit is contained in:
Proddy
2023-02-21 21:49:21 +01:00
parent 134f2671fb
commit 6aea27e30f
15 changed files with 18 additions and 120 deletions

View File

@@ -613,7 +613,7 @@ bool DallasSensor::Sensor::apply_customization() {
}
// hard coded tests
#if defined(EMSESP_DEBUG)
#if defined(EMSESP_TEST)
void DallasSensor::test() {
// add 2 dallas sensors
uint8_t addr[ADDR_LEN] = {1, 2, 3, 4, 5, 6, 7, 8};