| 228 | |
| 229 | #ifdef USING_BXCAN1 |
| 230 | static void bxcan1_hw_init(void) |
| 231 | { |
| 232 | pin_set_purpose(56, PIN_PURPOSE_OTHER); |
| 233 | pin_set_purpose(57, PIN_PURPOSE_OTHER); |
| 234 | pin_set_remap(56, PIN_REMAP_THIRD); |
| 235 | pin_set_remap(57, PIN_REMAP_THIRD); |
| 236 | } |
| 237 | #endif |
| 238 | |
| 239 | static rt_err_t configure(struct rt_can_device *can, struct can_configure *cfg) |
no test coverage detected