Browse Source

Removing line break before templated variable to fix issue with Windows Arduino IDE (#1579)

rules-rpn
Xose Pérez 5 years ago
parent
commit
5bb852834e
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      code/espurna/sensor.ino

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

@ -102,8 +102,7 @@ double _magnitudeProcess(unsigned char type, double value) {
#if WEB_SUPPORT #if WEB_SUPPORT
template<typename T>
void _sensorWebSocketMagnitudes(JsonObject& root, T prefix) {
template<typename T> void _sensorWebSocketMagnitudes(JsonObject& root, T prefix) {
// ws produces flat list <prefix>Magnitudes // ws produces flat list <prefix>Magnitudes
String ws_name = String(prefix); String ws_name = String(prefix);


Loading…
Cancel
Save