Controller init updated

This commit is contained in:
@CarlWachter
2024-02-16 14:41:58 +01:00
parent c327ec2ede
commit 72395bd0c1
2 changed files with 7 additions and 2 deletions

View File

@@ -125,6 +125,11 @@ namespace sta
Watchdog::instance()->start();
}
#endif // STA_TACOS_WATCHDOG_ENABLED
STA_WEAK
CanController * getCanController(){
extern CAN_HandleTypeDef hcan1;
return new STM32CanController(&hcan1);
}
} // namespace tacos