view OtherSources/stm32f4xx_hal_msp.c @ 218:ff59d1d07f9c Improve_IPC_Sync

Splitted 120 seconds UART timeout into chunks of 500ms The UART connection via Bluetooth was realized using a receive call with 120 seconds timeout. By cancellation it seemed for the user as if the connection would have been aborted. In reality the received function keeped executing the wait for RX data till timeout occure. To avaoid this the timeout has been splitted into several calls with 500ms timeout => If the user disconnects by pressing "back" the COMM function is now ended.
author ideenmodellierer
date Sun, 31 Mar 2019 15:44:12 +0200
parents 7801c5d8a562
children
line wrap: on
line source

/**
  ******************************************************************************
  * @file    stm32f4xx_hal_msp.c 
  * @author  heinrichs weikamp gmbh
  * @date    05-Dec-2014
  * @version V0.0.1
  * @since   05-Dec-2014
  * @brief   loader for the hardware specific stm32f4xx_hal_msp.c 
  *           
  @verbatim                 
  ============================================================================== 
              ##### How to use #####
  ============================================================================== 
  @endverbatim
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT(c) 2014 heinrichs weikamp</center></h2>
  *
  ******************************************************************************
  */ 

/* Includes ------------------------------------------------------------------*/

#include "ostc.h"

#ifdef OSTC_ON_DISCOVERY_HARDWARE
 #include "stm32f4xx_hal_msp_discovery.c"
#else
 #include "stm32f4xx_hal_msp_hw1.c"
#endif

/* Exported variables --------------------------------------------------------*/  

/* Private types -------------------------------------------------------------*/

/* Private variables ---------------------------------------------------------*/

/* Private variables with external access via get_xxx() function -------------*/

/* Private function prototypes -----------------------------------------------*/

/* Exported functions --------------------------------------------------------*/

/* Private functions ---------------------------------------------------------*/

/************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/