MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / driver_initialised

Function driver_initialised

libraries/AP_HAL_ChibiOS/CANFDIface.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115#define REG_SET_TIMEOUT 250 // if it takes longer than 250ms for setting a register we have failed
116
117static inline bool driver_initialised(uint8_t iface_index)
118{
119 if (can_ifaces[iface_index] == nullptr) {
120 return false;
121 }
122 return true;
123}
124
125static inline void handleCANInterrupt(uint8_t phys_index, uint8_t line_index)
126{

Callers 1

handleCANInterruptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected