diff --git a/hwconf/makerbase/75_100/hw_mksesc_75_100_core.h b/hwconf/makerbase/75_100/hw_mksesc_75_100_core.h index a3a390626f..03be7a4ef8 100644 --- a/hwconf/makerbase/75_100/hw_mksesc_75_100_core.h +++ b/hwconf/makerbase/75_100/hw_mksesc_75_100_core.h @@ -259,6 +259,13 @@ #ifndef MCCONF_FOC_SAMPLE_V0_V7 #define MCCONF_FOC_SAMPLE_V0_V7 false // Run control loop in both v0 and v7 (requires phase shunts) #endif +#ifndef MCCONF_FOC_PHASE_FILTER_ENABLE +#ifdef HW_HAS_PHASE_FILTERS +#define MCCONF_FOC_PHASE_FILTER_ENABLE true // Use phase voltage filters when available +#else +#define MCCONF_FOC_PHASE_FILTER_ENABLE false // Use phase voltage filters when available +#endif +#endif #ifndef MCCONF_L_IN_CURRENT_MAX #define MCCONF_L_IN_CURRENT_MAX 100.0 // Input current limit in Amperes (Upper) #endif diff --git a/hwconf/makerbase/75_100_V2/hw_mksesc_75_100_v2_core.h b/hwconf/makerbase/75_100_V2/hw_mksesc_75_100_v2_core.h index c8a434fcd6..11d3c09c45 100644 --- a/hwconf/makerbase/75_100_V2/hw_mksesc_75_100_v2_core.h +++ b/hwconf/makerbase/75_100_V2/hw_mksesc_75_100_v2_core.h @@ -271,6 +271,13 @@ #ifndef MCCONF_FOC_SAMPLE_V0_V7 #define MCCONF_FOC_SAMPLE_V0_V7 false // Run control loop in both v0 and v7 (requires phase shunts) #endif +#ifndef MCCONF_FOC_PHASE_FILTER_ENABLE +#ifdef HW_HAS_PHASE_FILTERS +#define MCCONF_FOC_PHASE_FILTER_ENABLE true // Use phase voltage filters when available +#else +#define MCCONF_FOC_PHASE_FILTER_ENABLE false // Use phase voltage filters when available +#endif +#endif #ifndef MCCONF_L_IN_CURRENT_MAX #define MCCONF_L_IN_CURRENT_MAX 100.0 // Input current limit in Amperes (Upper) #endif