Removed ugly namespace mentioning at namespace closing brace, which was added by the code formatter.
This commit is contained in:
parent
a31840c479
commit
c5547b37ee
|
@ -174,4 +174,4 @@ namespace Dough
|
|||
}
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -77,6 +77,6 @@ namespace Dough
|
|||
bool _containerHeightSet;
|
||||
void _sample();
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -29,4 +29,4 @@ namespace Dough
|
|||
target->ok = ok;
|
||||
target->value = value;
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -16,6 +16,6 @@ namespace Dough
|
|||
void clear();
|
||||
void copyTo(Measurement *target);
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -162,4 +162,4 @@ namespace Dough
|
|||
_storage[i]->clear();
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -60,6 +60,6 @@ namespace Dough
|
|||
void _store(Measurement measurement);
|
||||
unsigned int _next();
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -135,4 +135,4 @@ namespace Dough
|
|||
}
|
||||
}
|
||||
|
||||
} // namespace Dough
|
||||
}
|
|
@ -43,6 +43,6 @@ namespace Dough
|
|||
char *_mqttDeviceId;
|
||||
};
|
||||
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -87,4 +87,4 @@ namespace Dough
|
|||
{
|
||||
return _macAddress;
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -26,6 +26,6 @@ namespace Dough
|
|||
char _macAddress[18]; // max MAC address length + 1
|
||||
Logger _logger;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -59,4 +59,4 @@ namespace Dough
|
|||
return Measurement::Value(d);
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -25,6 +25,6 @@ namespace Dough
|
|||
Logger _logger;
|
||||
SensorHCSR04 *_hcsr04;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -47,4 +47,4 @@ namespace Dough
|
|||
return Measurement::Value(int(t));
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -23,6 +23,6 @@ namespace Dough
|
|||
static HumiditySensor *_instance;
|
||||
Logger _logger;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -44,4 +44,4 @@ namespace Dough
|
|||
{
|
||||
return _dht->readTemperature();
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -20,6 +20,6 @@ namespace Dough
|
|||
static SensorDHT11 *_instance;
|
||||
DHT *_dht;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -149,4 +149,4 @@ namespace Dough
|
|||
|
||||
return round(sum / HCSR04_SAMPLES_USE);
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -62,6 +62,6 @@ namespace Dough
|
|||
void _sortSamples();
|
||||
int _computeAverage();
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -47,4 +47,4 @@ namespace Dough
|
|||
return Measurement::Value(int(t));
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -23,6 +23,6 @@ namespace Dough
|
|||
static TemperatureSensor *_instance;
|
||||
Logger _logger;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -143,4 +143,4 @@ namespace Dough
|
|||
_state = UP_AFTER_LONG;
|
||||
}
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -49,6 +49,6 @@ namespace Dough
|
|||
unsigned long _debounceTimer = 0;
|
||||
ButtonState _state = UP;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -173,4 +173,4 @@ namespace Dough
|
|||
{
|
||||
return _pinState == LOW;
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -54,6 +54,6 @@ namespace Dough
|
|||
int _brightness;
|
||||
int _pulseStep;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -70,4 +70,4 @@ namespace Dough
|
|||
|
||||
Serial.println("");
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
|
@ -24,6 +24,6 @@ namespace Dough
|
|||
const char *_section;
|
||||
bool _suspended = false;
|
||||
};
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
#endif
|
|
@ -169,7 +169,7 @@ namespace Dough
|
|||
delay(100);
|
||||
led3.off();
|
||||
}
|
||||
} // namespace Dough
|
||||
}
|
||||
|
||||
// This callback is called when the TC4 timer hits an overflow interrupt.
|
||||
// Defined outside the Dough namespace, because TC4_Handler is a hard-coded
|
||||
|
|
Loading…
Reference in New Issue