| 115 | #define REG_SET_TIMEOUT 250 // if it takes longer than 250ms for setting a register we have failed |
| 116 | |
| 117 | static 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 | |
| 125 | static inline void handleCANInterrupt(uint8_t phys_index, uint8_t line_index) |
| 126 | { |
no outgoing calls
no test coverage detected