Remove dead code2

This commit is contained in:
Oskar Winkels 2022-11-16 01:53:24 +01:00
parent 1aa67b9aa9
commit 1bd8ca4a4b
1 changed files with 1 additions and 11 deletions

View File

@ -192,17 +192,7 @@ int main(void)
}
// CAN_RxHeaderTypeDef RxHeader;
// uint8_t RxBuffer[8];
//
// // Read frame from HW into buffer
// if (HAL_CAN_GetRxMessage(&hcan, CAN_RX_FIFO0, &RxHeader, RxBuffer) == HAL_OK) {
// // Copy into the bitfield if it's for us
// if (RxHeader.StdId == CAN_ID_RX)
// RxData.raw[0] = RxBuffer[0];
// }
//
// // Slow the loop
// Slow the loop
HAL_Delay(RX_UPDATE_PERIOD);
/* USER CODE END WHILE */