start on firmware

This commit is contained in:
2023-11-01 23:18:12 -04:00
parent e15533d740
commit e2765ec727
8 changed files with 110 additions and 13 deletions

View File

@@ -154,7 +154,7 @@ void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
// Reply globally but put the replying ID in the data packet.
TxHeader.Identifier = FDCAN_GlobalID;
memset(TxData, 0x00, 8 * sizeof(uint8_t));
memcpy(&TxData, (sFilterConfig.FilterID1), sizeof(uint16_t));
//memcpy(&TxData, (sFilterConfig.FilterID1), sizeof(uint16_t));
FDCAN_SendMessage();
}
else