removed somehting
This commit is contained in:
@@ -500,8 +500,6 @@ fn get_cpu_temp() -> Option<f32> {
|
|||||||
|
|
||||||
if value.CStatus == ERROR_SUCCESS as u32 {
|
if value.CStatus == ERROR_SUCCESS as u32 {
|
||||||
return Some(*value.u.doubleValue() as f32);
|
return Some(*value.u.doubleValue() as f32);
|
||||||
} else {
|
|
||||||
return None;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user