Skip to content

Commit 09fd03d

Browse files
committed
Update
update default dOn
1 parent 1c83b4d commit 09fd03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QuickPID.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
3939
**********************************************************************************/
4040
QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
4141
float Kp, float Ki, float Kd, direction_t ControllerDirection = DIRECT)
42-
: QuickPID::QuickPID(Input, Output, Setpoint, Kp, Ki, Kd, pOn = 1, dOn = 1, ControllerDirection = DIRECT) {
42+
: QuickPID::QuickPID(Input, Output, Setpoint, Kp, Ki, Kd, pOn = 1.0, dOn = 0.0, ControllerDirection = DIRECT) {
4343
}
4444

4545
/* Compute() ***********************************************************************

0 commit comments

Comments
 (0)