fix(CAN): RX buffer as queue for stability

This commit is contained in:
CarlWachter
2024-09-25 17:21:52 +02:00
parent 5b532087c8
commit 7997a8a91a
2 changed files with 79 additions and 80 deletions

View File

@@ -100,10 +100,8 @@ namespace sta
sta::STM32CanController * canBusController_;
CanSysMsg* canBusSysQueueBuffer_[STA_RTOS_CAN_BUS_QUEUE_LENGTH];
uint8_t bufferIndex;
RtosQueue<CanSysMsg> canBusSysQueue_;
RtosQueue<CanSysMsg> canBusSysQueue_;
RtosQueue<CanSysMsg> canBusRxQueue_;
AlpakaCanBus canBus_;