more cleanup

This commit is contained in:
CarlWachter 2023-12-08 15:40:54 +01:00
parent 1f6f610c61
commit cd37e379f8

View File

@ -139,26 +139,6 @@ int main(void)
while (1) while (1)
{ {
//HAL_Delay(1);
//HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12, GPIO_PIN_RESET);
//HAL_Delay(100);
//HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12, GPIO_PIN_SET);#
//testCan(&hcan1);
/*HAL_CAN_GetRxMessage(&hcan1, CAN_RX_FIFO0, &rxHeader, canRX);
if (canRX[0] != 0){
HAL_GPIO_TogglePin(GPIOD,GPIO_PIN_8);
HAL_Delay(1000);
}
uint8_t csend[] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};
//HAL_CAN_AddTxMessage(&hcan1,&txHeader,csend,&canMailbox);*/
/*HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_RESET);
HAL_Delay(100);
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_SET);*/
//testCanMsg(&hcan1, canRX);
if (received == 1){ if (received == 1){
testCanMsg(&hcan1, canRX); testCanMsg(&hcan1, canRX);
received = 0; received = 0;