Scrut fixes

This commit is contained in:
laf
2016-07-07 19:10:37 +01:00
parent 07dc5ffaed
commit eb58daa207
2 changed files with 2 additions and 2 deletions

View File

@@ -1536,5 +1536,5 @@ function create_sensor_to_state_index($device, $state_name, $index)
}
function delta_to_bits($delta,$period) {
return round(($_delta * 8 / $period), 2);
return round(($delta * 8 / $period), 2);
}