Remove dead code2
This commit is contained in:
parent
1aa67b9aa9
commit
1bd8ca4a4b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue