diff --git a/src/startup.cpp b/src/startup.cpp index 8acfc29..a841f00 100644 --- a/src/startup.cpp +++ b/src/startup.cpp @@ -31,9 +31,6 @@ #include #include -// TODO: WHY DO I HAVE TO PUT THIS HERE???? DO YOU THINK YOU ARE SPECIAL, HUH MR. HCAN1? WHY CAN'T YOU BE NORMAL LIKE HUART -extern CAN_HandleTypeDef hcan1; - // The UART mutex defined in freertos.c extern osMutexId_t uartMutexHandle; @@ -60,18 +57,6 @@ namespace sta return &STA_STM32_USART_HANDLE; } -#if defined(STA_CAN_BUS_ENABLE) || defined(DOXYGEN) - /** - * @brief Function that returns the CAN handle used for the CAN bus. Override it in userspace to adjust. - * - * @ingroup tacos_startup - */ - STA_WEAK - CAN_HandleTypeDef * getCanController(){ - return &STA_STM32_CAN_HANDLE; - } -#endif /* STA_CAN_BUS_ENABLE */ - /** * @brief Function that initializes the printable object given by getUARThandle(). *