mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[hal, wpilib] Rewrite CAN APIs (#7798)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user