whitespace

This commit is contained in:
nephros 2023-03-07 08:07:53 +01:00
parent 1fd7adbb96
commit 5c0212226c

View file

@ -332,8 +332,8 @@ void Battery::updateData()
if(temperatureFile && temperatureFile->open(QIODevice::ReadOnly)) {
nextTemperature = temperatureFile->readLine().trimmed().toInt() / tempCorrectionFactor;
if(nextTemperature != temperature) {
if((nextTemperature / 10 ) != (temperature / 10 )) {
logM(QString("Temperature: %1°C").arg(nextTemperature / 10 ));
if((nextTemperature / 10) != (temperature / 10)) {
logM(QString("Temperature: %1°C").arg(nextTemperature / 10));
}
temperature = nextTemperature;
}