🎨 Indent temp structs
This commit is contained in:
@@ -177,7 +177,7 @@ typedef struct { float p, i, d, c, f; } raw_pidcf_t;
|
||||
/// PID classes that implement these features are expected to override these methods
|
||||
/// Since the finally used PID class is typedef-d, there is no need to use virtual functions
|
||||
template<int MIN_POW, int MAX_POW>
|
||||
struct PID_t{
|
||||
struct PID_t {
|
||||
protected:
|
||||
bool pid_reset = true;
|
||||
float temp_iState = 0.0f, temp_dState = 0.0f;
|
||||
@@ -415,10 +415,10 @@ typedef struct { float p, i, d, c, f; } raw_pidcf_t;
|
||||
|
||||
// A temperature sensor
|
||||
typedef struct TempInfo {
|
||||
private:
|
||||
private:
|
||||
raw_adc_t acc;
|
||||
raw_adc_t raw;
|
||||
public:
|
||||
public:
|
||||
celsius_float_t celsius;
|
||||
inline void reset() { acc = 0; }
|
||||
inline void sample(const raw_adc_t s) { acc += s; }
|
||||
|
Reference in New Issue
Block a user