Browse Source

Remove extra whitespace from sensor.ino

ech1560
Rui Marinho 6 years ago
parent
commit
ec21f76689
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/sensor.ino

+ 1
- 1
code/espurna/sensor.ino View File

@ -115,7 +115,7 @@ void _sensorWebSocketSendData(JsonObject& root) {
sensor_magnitude_t magnitude = _magnitudes[i]; sensor_magnitude_t magnitude = _magnitudes[i];
if (magnitude.type == MAGNITUDE_EVENT) continue; if (magnitude.type == MAGNITUDE_EVENT) continue;
unsigned char decimals = _magnitudeDecimals(magnitude.type); unsigned char decimals = _magnitudeDecimals(magnitude.type);
dtostrf(magnitude.current, 1-sizeof(buffer), decimals, buffer); dtostrf(magnitude.current, 1-sizeof(buffer), decimals, buffer);


Loading…
Cancel
Save