remove unused parameter

This commit is contained in:
MichaelDvP
2025-12-14 09:23:22 +01:00
parent 4e589aecbf
commit 99f44aece5
2 changed files with 2 additions and 2 deletions

View File

@@ -319,7 +319,7 @@ int16_t TemperatureSensor::get_temperature_c(const uint8_t addr[]) {
}
// update temperature sensor information name and offset
bool TemperatureSensor::update(const char * id, const char * name, int16_t offset, bool hide, bool is_system) {
bool TemperatureSensor::update(const char * id, const char * name, int16_t offset, bool is_system) {
// find the sensor
for (auto & sensor : sensors_) {
if (!strcmp(id, sensor.id())) {

View File

@@ -124,7 +124,7 @@ class TemperatureSensor {
return sensors_.size();
}
bool update(const char * id, const char * name, int16_t offset, bool hide = false, bool is_system = false);
bool update(const char * id, const char * name, int16_t offset, bool is_system = false);
#if defined(EMSESP_TEST)
void load_test_data();