Allow infinite negative current by default

This commit is contained in:
Unknown
2019-12-22 17:20:10 -05:00
parent a4664fbf5e
commit 77efd6b761
+1 -1
View File
@@ -93,7 +93,7 @@ struct BoardConfig_t {
//<! the brake power if the brake resistor is disabled.
//<! The default is 26V for the 24V board version and 52V for the 48V board version.
float power_supply_max_current = INFINITY; // Max current [A] the power supply can source
float power_supply_min_current = 0.0f; // Max current [A] the power supply can sink
float power_supply_min_current = -INFINITY; // Max current [A] the power supply can sink
PWMMapping_t pwm_mappings[GPIO_COUNT];
PWMMapping_t analog_mappings[GPIO_COUNT];
};