Skip to content

Commit 0fec3da

Browse files
committed
Remove unused warning
1 parent 8c5fab4 commit 0fec3da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/drivers/hardware_specific/generic_mcu.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ __attribute__((weak)) void* _configure4PWM(long pwm_frequency, const int pin1A,
4646
// - BLDC driver - 6PWM setting
4747
// - hardware specific
4848
__attribute__((weak)) void* _configure6PWM(long pwm_frequency, float dead_zone, const int pinA_h, const int pinA_l, const int pinB_h, const int pinB_l, const int pinC_h, const int pinC_l){
49+
_UNUSED(pwm_frequency);
50+
_UNUSED(dead_zone);
51+
_UNUSED(pinA_h);
52+
_UNUSED(pinA_l);
53+
_UNUSED(pinB_h);
54+
_UNUSED(pinB_l);
55+
_UNUSED(pinC_h);
56+
_UNUSED(pinC_l);
57+
4958
return SIMPLEFOC_DRIVER_INIT_FAILED;
5059
}
5160

0 commit comments

Comments
 (0)