Cadillac: fixed typo. Need better regression tests to catch this
@@ -70,7 +70,7 @@ static int cadillac_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) {
(CADILLAC_DRIVER_TORQUE_ALLOWANCE + cadillac_torque_driver.max) *
CADILLAC_DRIVER_TORQUE_FACTOR;
int driver_torque_min_limit = -CADILLAC_STEER_MAX +
- (-CADILLAC_DRIVER_TORQUE_ALLOWANCE + cadillac_torque_driver.max) *
+ (-CADILLAC_DRIVER_TORQUE_ALLOWANCE + cadillac_torque_driver.min) *
CADILLAC_DRIVER_TORQUE_FACTOR;
// if we've exceeded the applied torque, we must start moving toward 0
