Skip to content

Commit f5c92c5

Browse files
committed
Update
1 parent eccafaa commit f5c92c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/AutoTune_Filter_DIRECT/AutoTune_Filter_DIRECT.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void setup() {
3434
while (1);
3535
}
3636
_myPID.AutoTune(tuningRule);
37-
_myPID.autoTune->autoTuneConfig(outputStep, hysteresis, setpoint, 85, printOrPlotter);
37+
_myPID.autoTune->autoTuneConfig(outputStep, hysteresis, setpoint, output, printOrPlotter);
3838
}
3939

4040
void loop() {

src/QuickPID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class AutoTunePID {
1010

1111
void reset();
1212
void autoTuneConfig(const byte outputStep, const byte hysteresis, const int setpoint, const int output,
13-
const bool dir = 0, const bool printOrPlotter = false);
13+
const bool dir = false, const bool printOrPlotter = false);
1414
byte autoTuneLoop();
1515
void setAutoTuneConstants(float* kp, float* ki, float* kd);
1616
enum atStage : byte { STABILIZING, COARSE, FINE, AUTOTUNE, T0, T1, T2, T3, DONE, NEW_TUNINGS, RUN_PID };

0 commit comments

Comments
 (0)