mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
added comment
This commit is contained in:
@@ -623,6 +623,7 @@ bool EMSdevice::is_readable(const void * value_p) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check if value/command is readonly
|
// check if value/command is readonly
|
||||||
|
// matches valid tags too
|
||||||
bool EMSdevice::is_readonly(const std::string & cmd, const int8_t id) const {
|
bool EMSdevice::is_readonly(const std::string & cmd, const int8_t id) const {
|
||||||
uint8_t tag = id > 0 ? DeviceValueTAG::TAG_HC1 + id - 1 : DeviceValueTAG::TAG_NONE;
|
uint8_t tag = id > 0 ? DeviceValueTAG::TAG_HC1 + id - 1 : DeviceValueTAG::TAG_NONE;
|
||||||
for (const auto & dv : devicevalues_) {
|
for (const auto & dv : devicevalues_) {
|
||||||
|
|||||||
Reference in New Issue
Block a user