| 501 | } |
| 502 | |
| 503 | void Move::EngageBrake(size_t driver) noexcept |
| 504 | { |
| 505 | #if SUPPORT_BRAKE_PWM |
| 506 | currentBrakePwm[driver] = 0.0; |
| 507 | brakePorts[driver].WriteAnalog(0.0); |
| 508 | #else |
| 509 | brakePorts[driver].WriteDigital(false); // turn the brake solenoid off to engage the brake |
| 510 | #endif |
| 511 | } |
| 512 | |
| 513 | void Move::DisengageBrake(size_t driver) noexcept |
| 514 | { |
nothing calls this directly
no test coverage detected