float target_temperature;
StreamOutput *s;
- volatile bool tick;
-
float *peaks;
int requested_cycles;
float noiseBand;
int peakType;
float *lastInputs;
int peakCount;
- bool justchanged;
float absMax, absMin;
float oStep;
int output;
- unsigned long tickCnt;
+ volatile unsigned long tickCnt;
+ struct {
+ bool justchanged:1;
+ volatile bool tick:1;
+ bool firstPeak:1;
+ };
};
#endif /* _PID_AUTOTUNE_H */