add comment so we remember the reserve functions

This commit is contained in:
Proddy
2023-01-23 23:20:16 +01:00
parent 1cd5e0781d
commit 15760117ee

View File

@@ -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<TelegramFunction> telegram_functions_; // each EMS device has its own set of registered telegram types
std::vector<DeviceValue> devicevalues_; // all the device values