Skip to content

Commit

Permalink
Removing line break before templated variable to fix issue with Windo…
Browse files Browse the repository at this point in the history
…ws Arduino IDE (#1579)
  • Loading branch information
xoseperez committed Feb 26, 2019
1 parent dbb34e4 commit 5bb8528
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/espurna/sensor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ double _magnitudeProcess(unsigned char type, double value) {

#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
String ws_name = String(prefix);
Expand Down

0 comments on commit 5bb8528

Please sign in to comment.