forked from br3ttb/Arduino-PID-Library
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
I get the following error when compiling on the ESP32 w/ libraries 2.0.7:
c:\Users\hjd19\Documents\Arduino\libraries\QuickPID-master\src\QuickPID.cpp: In constructor 'QuickPID::QuickPID(float*, float*, float*)':
c:\Users\hjd19\Documents\Arduino\libraries\QuickPID-master\src\QuickPID.cpp:62:47: error: '*.QuickPID::dispKp' is used uninitialized in this function [-Werror=uninitialized]
action = Action::direct) {
^
...and the same of dispKi, dispKd...
I simply changed the involved default parameters to 0 and all was well, not sure how you want to handle it:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels