We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe11b3 commit 9712eadCopy full SHA for 9712ead
src/drivers/BLDCDriver6PWM.cpp
@@ -55,7 +55,7 @@ int BLDCDriver6PWM::init() {
55
56
57
// sanity check for the voltage limit configuration
58
- if( _isset(voltage_limit) || voltage_limit > voltage_power_supply) voltage_limit = voltage_power_supply;
+ if( !_isset(voltage_limit) || voltage_limit > voltage_power_supply) voltage_limit = voltage_power_supply;
59
60
// configure 6pwm
61
// hardware specific function - depending on driver and mcu
0 commit comments