rename add_name() to update(). show offset in log msg

This commit is contained in:
proddy
2021-07-20 12:59:37 +02:00
parent f3cfc38adc
commit 747cda79db
2 changed files with 16 additions and 9 deletions

View File

@@ -88,7 +88,7 @@ class DallasSensor {
dallas_format_ = dallas_format;
}
bool add_name(const char * idstr, const char * name, int16_t offset);
bool update(const char * idstr, const char * name, int16_t offset);
private:
static constexpr uint8_t MAX_SENSORS = 20;