comparison Discovery/Src/ostc.c @ 323:b43fa6a6c85a

Merged in Ideenmodellierer/ostc4/O2_SensorSync (pull request #28) O2 SensorSync
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Sun, 30 Jun 2019 19:52:46 +0000
parents 37ee61f93124
children bc6c90e20d9e
comparison
equal deleted inserted replaced
320:117a7ec23385 323:b43fa6a6c85a
44 UART_HandleTypeDef UartPiezoTxHandle; 44 UART_HandleTypeDef UartPiezoTxHandle;
45 #endif 45 #endif
46 UART_HandleTypeDef UartIR_HUD_Handle; 46 UART_HandleTypeDef UartIR_HUD_Handle;
47 47
48 __IO ITStatus UartReady = RESET; 48 __IO ITStatus UartReady = RESET;
49 __IO ITStatus UartReadyHUD = RESET;
50 49
51 /* Private types -------------------------------------------------------------*/ 50 /* Private types -------------------------------------------------------------*/
52 51
53 /* Private variables ---------------------------------------------------------*/ 52 /* Private variables ---------------------------------------------------------*/
54 53
302 { 301 {
303 if(huart == &UartHandle) 302 if(huart == &UartHandle)
304 UartReady = SET; 303 UartReady = SET;
305 } 304 }
306 305
307 //void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) 306
308 void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) 307 void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
309 { 308 {
310 if(huart == &UartHandle) 309 if(huart == &UartHandle)
311 UartReady = SET; 310 UartReady = SET;
312 else 311 else
313 if(huart == &UartIR_HUD_Handle) 312 if(huart == &UartIR_HUD_Handle)
314 { 313 {
315 UartReadyHUD = SET; 314 tCCR_SetRXIndication();
316 } 315 }
317 } 316 }
318 317
319 void MX_tell_reset_logik_alles_ok(void) 318 void MX_tell_reset_logik_alles_ok(void)
320 { 319 {