view OtherSources/stm32f4xx_hal_msp.c @ 901:e4e9acfde839 Evo_2_23

Bugfix simulator/planer: For deco calculation two structures are used. The calculation structure and the input structure. During simulation fast forward (+5min) the input structure is manipulated. Especially for vpm calculation it could happen that the input structure was manipulated and then overwritten by the calculation structure => deco and tts may have wrong values. To avoid this thedeco calculation status is now checked before doing the FF manupulation. Based an calculation state deco or input structures are manipulated. Surface time stamp in planer view: The planer used its own (buggy) implementation for calculation of tts. The timestamp for the surface arrival did not match the bottom time + TTS. The new implementation uses the tts calculated by the deco loop for generation of surface time stamp.
author Ideenmodellierer
date Wed, 02 Oct 2024 22:07:13 +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****/