void Vortex86CAN::begin(uint32_t speed) { if (can != NULL) com_Close(can); if ((can = com_Init(CAN_BUS)) == NULL) return; com_SetBPS(can, speed); com_SetTimeOut(can, 1000UL); com_EnableBypass(can); }
void cm_close(void) { com_Close(Serial); }
void Vortex86CAN::begin(uint32_t speed) { if (can != NULL) com_Close(can); if ((can = com_Init(CAN_BUS)) == NULL) return; com_SetBPS(can, speed); com_SetTimeOut(can, 1000UL); com_EnableBypass(can); }
void cm_close(void) { com_Close(Serial); }