Browse Source

Merge pull request #1114 from ruimarinho/support/whitespace

Remove extra whitespace from sensor.ino
ech1560
Xose Pérez 6 years ago
committed by GitHub
parent
commit
82405617e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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];
if (magnitude.type == MAGNITUDE_EVENT) continue;
unsigned char decimals = _magnitudeDecimals(magnitude.type);
dtostrf(magnitude.current, 1-sizeof(buffer), decimals, buffer);


Loading…
Cancel
Save