➕ Moves common math functions to own file
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <HttpEndpoint.h>
|
||||
#include <SecurityManager.h>
|
||||
#include <StatefulService.h>
|
||||
#include <MathUtils.h>
|
||||
#include <list>
|
||||
|
||||
#include <SPI.h>
|
||||
@@ -333,8 +334,6 @@ class Peripherals : public StatefulService<PeripheralsConfiguration> {
|
||||
return temperature;
|
||||
}
|
||||
|
||||
double round2(double value) { return (int)(value * 100 + 0.5) / 100.0; }
|
||||
|
||||
protected:
|
||||
void updateImu() {
|
||||
doc.clear();
|
||||
|
||||
Reference in New Issue
Block a user