whitespace
This commit is contained in:
parent
1fd7adbb96
commit
5c0212226c
1 changed files with 2 additions and 2 deletions
|
@ -332,8 +332,8 @@ void Battery::updateData()
|
||||||
if(temperatureFile && temperatureFile->open(QIODevice::ReadOnly)) {
|
if(temperatureFile && temperatureFile->open(QIODevice::ReadOnly)) {
|
||||||
nextTemperature = temperatureFile->readLine().trimmed().toInt() / tempCorrectionFactor;
|
nextTemperature = temperatureFile->readLine().trimmed().toInt() / tempCorrectionFactor;
|
||||||
if(nextTemperature != temperature) {
|
if(nextTemperature != temperature) {
|
||||||
if((nextTemperature / 10 ) != (temperature / 10 )) {
|
if((nextTemperature / 10) != (temperature / 10)) {
|
||||||
logM(QString("Temperature: %1°C").arg(nextTemperature / 10 ));
|
logM(QString("Temperature: %1°C").arg(nextTemperature / 10));
|
||||||
}
|
}
|
||||||
temperature = nextTemperature;
|
temperature = nextTemperature;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue