diff --git a/src/emsdevice.h b/src/emsdevice.h index 9a44de4f5..8972bedb3 100644 --- a/src/emsdevice.h +++ b/src/emsdevice.h @@ -417,6 +417,16 @@ class EMSdevice { uint8_t count_entities(); bool has_entities() const; + /* + void reserve_device_values(uint8_t elements) { + devicevalues_.reserve(elements); + } + + void reserve_telegram_functions(uint8_t elements) { + telegram_functions_.reserve(elements); + } + */ + #if defined(EMSESP_STANDALONE) void dump_value_info(); #endif @@ -451,10 +461,6 @@ class EMSdevice { } }; -#ifdef EMSESP_STANDALONE - void debug_print_dv(const char * shortname); -#endif - std::vector telegram_functions_; // each EMS device has its own set of registered telegram types std::vector devicevalues_; // all the device values