Formtatting of messages added

This commit is contained in:
CarlWachter
2023-12-10 13:29:48 +01:00
parent 60c7f59e46
commit 98ecffac48
2 changed files with 5 additions and 5 deletions

View File

@@ -327,9 +327,9 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
HAL_CAN_GetRxMessage(hcan1, CAN_RX_FIFO0, &rxHeader, canRX);
/*uint8_t type_id, sensor_ID, value, include;
uint8_t type_id, sensor_ID, value, include;
unpackValues(canRX, *type_id, *sensor_ID, *value, *include);
unpackValues(canRX[0], &type_id, &sensor_ID, &value, &include);
if (type_id == 0 && sensor_ID == 1){
if (value == 0){
@@ -337,7 +337,7 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
}else{
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_SET);
}
}*/
}
}