Mercurial > public > ostc4
diff Common/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h @ 617:4eba86129d35
Development bugfix: Low battery warning was interpretated as marker:
The previous version checked event bit 1 and 2 and returned a marker in case both were set. The indication for a battery low warning is that the 3 LSBit of the event byte are set => not intended marker in case of low battery situation. To fix this an additional check for bit0 has been added.
| author | Ideenmodellierer |
|---|---|
| date | Wed, 27 Jan 2021 22:03:11 +0100 |
| parents | c78bcbd5deda |
| children |
