Every-Flavor-Robotics / motorgo-mini-driver

Driver software for the MotorGo Mini board
MIT License
2 stars 1 forks source link

Calling init_ch0(motor_params_ch0) leads to compiler error #52

Closed SwapnilPande closed 9 months ago

SwapnilPande commented 9 months ago

src/pid_tune.cpp: In function 'void setup()': src/pid_tune.cpp:128:72: error: no matching function for call to 'MotorGo::MotorGoMini::init_ch0(MotorGo::MotorParameters&, bool&, bool&)' motorgo_mini->init_ch0(motor_params_ch0, calibrate, enable_foc_studio); ^ In file included from src/pid_tune.cpp:7: .pio/libdeps/pid_tune/MotorGo-Mini-Driver/include/motorgo_mini.h:79:8: note: candidate: 'void MotorGo::MotorGoMini::init_ch0(MotorGo::MotorParameters)' void init_ch0(MotorParameters params);