Rev 36 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 36 | Rev 52 | ||
|---|---|---|---|
| Line 244... | Line 244... | ||
| 244 | 244 | ||
| 245 | ///////////////////////////////////////////////////////// |
245 | ///////////////////////////////////////////////////////// |
| 246 | /// Moved from generated code to avoid crappy HAL handler |
246 | /// Moved from generated code to avoid crappy HAL handler |
| 247 | void USART1_IRQHandler(void) |
247 | void USART1_IRQHandler(void) |
| 248 | { |
248 | { |
| 249 | // if we have received something on USART1 then we have activity from outside. |
- | |
| 250 | if(__HAL_UART_GET_FLAG(&uc1,UART_FLAG_RXNE)) |
- | |
| 251 | { |
- | |
| 252 | NoSerialInCTR = 0; // Clear character timeout flag |
- | |
| 253 | NoSerialIn = 0; |
- | |
| 254 | } |
- | |
| 255 | UART_IRQHandler(&uc1); |
249 | UART_IRQHandler(&uc1); |
| 256 | } |
250 | } |
| 257 | 251 | ||
| 258 | void USART2_IRQHandler(void) |
252 | void USART2_IRQHandler(void) |
| 259 | { |
253 | { |