diff --git a/src/temperaturesensor.cpp b/src/temperaturesensor.cpp index ca640945a..4aa1d8cc7 100644 --- a/src/temperaturesensor.cpp +++ b/src/temperaturesensor.cpp @@ -576,7 +576,7 @@ TemperatureSensor::Sensor::Sensor(const uint8_t addr[]) (unsigned int)(internal_id_ >> 48) & 0xFF, (unsigned int)(internal_id_ >> 32) & 0xFFFF, (unsigned int)(internal_id_ >> 16) & 0xFFFF, - (unsigned int)(internal_id_)&0xFFFF); + (unsigned int)(internal_id_) & 0xFFFF); id_ = std::string(id_s); name_ = std::string{}; // name (alias) is empty offset_ = 0; // 0 degrees offset