We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c83b4d commit 09fd03dCopy full SHA for 09fd03d
src/QuickPID.cpp
@@ -39,7 +39,7 @@ QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
39
**********************************************************************************/
40
QuickPID::QuickPID(float* Input, float* Output, float* Setpoint,
41
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) {
+ : QuickPID::QuickPID(Input, Output, Setpoint, Kp, Ki, Kd, pOn = 1.0, dOn = 0.0, ControllerDirection = DIRECT) {
43
}
44
45
/* Compute() ***********************************************************************
0 commit comments