[hal, wpilib] Rewrite CAN APIs (#7798)

This commit is contained in:
Thad House
2025-02-25 19:07:01 -08:00
committed by GitHub
parent b39744b562
commit baa20fa239
107 changed files with 1447 additions and 1379 deletions

View File

@@ -336,9 +336,10 @@ class RobotController {
/**
* Get the current status of the CAN bus.
*
* @param busId The bus ID.
* @return The status of the CAN bus
*/
static CANStatus GetCANStatus();
static CANStatus GetCANStatus(int busId);
private:
static std::function<uint64_t()> m_timeSource;