diff --git a/src/drivers/hardware_specific/rp2040_mcu.cpp b/src/drivers/hardware_specific/rp2040_mcu.cpp index f7b58f80..d7e6cc1d 100644 --- a/src/drivers/hardware_specific/rp2040_mcu.cpp +++ b/src/drivers/hardware_specific/rp2040_mcu.cpp @@ -7,6 +7,7 @@ #define SIMPLEFOC_DEBUG_RP2040 #include "../hardware_api.h" +#include "hardware/pwm.h" // these defines determine the polarity of the PWM output. Normally, the polarity is active-high,