mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add comment so we remember the reserve functions
This commit is contained in:
@@ -417,6 +417,16 @@ class EMSdevice {
|
|||||||
uint8_t count_entities();
|
uint8_t count_entities();
|
||||||
bool has_entities() const;
|
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)
|
#if defined(EMSESP_STANDALONE)
|
||||||
void dump_value_info();
|
void dump_value_info();
|
||||||
#endif
|
#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<TelegramFunction> telegram_functions_; // each EMS device has its own set of registered telegram types
|
||||||
|
|
||||||
std::vector<DeviceValue> devicevalues_; // all the device values
|
std::vector<DeviceValue> devicevalues_; // all the device values
|
||||||
|
|||||||
Reference in New Issue
Block a user