Mercurial > public > ostc4
view OtherSources/stm32f4xx_hal_msp.c @ 213:d539ed9aa5b8 edit-fix
Bugfix, trivial: do not visit 9 on first digit for setpoint
When editing a setpoint, and hitting the "-" button, the digit sequence
was 1, 0, 9, 1, ... So, one could enter a setpoint of 9.5 bar (that is later
automatically clamped between 0.5 and 1.6).
This simply looks strange, so fix it. Now, hitting "+" and "-" behave
symmetrical.
At the same time, kick out some unused code.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Wed, 27 Mar 2019 15:12:26 +0100 |
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>© 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****/