Rev 43 | Rev 45 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 43 | Rev 44 | ||
---|---|---|---|
Line 495... | Line 495... | ||
495 | 495 | ||
496 | // Not using HAL USART code |
496 | // Not using HAL USART code |
497 | __HAL_RCC_USART1_CLK_ENABLE() |
497 | __HAL_RCC_USART1_CLK_ENABLE() |
498 | ; // PLX comms port |
498 | ; // PLX comms port |
499 | /* setup the USART control blocks */ |
499 | /* setup the USART control blocks */ |
500 | init_usart_ctl (&uc1, huart1.Instance); |
500 | init_usart_ctl (&uc1, &huart1); |
501 | 501 | ||
502 | EnableSerialRxInterrupt (&uc1); |
502 | EnableSerialRxInterrupt (&uc1); |
503 | 503 | ||
504 | HAL_SPI_MspInit (&hspi1); |
504 | HAL_SPI_MspInit (&hspi1); |
505 | 505 |