Mercurial > public > ostc4
view Discovery/Inc/firmwareJumpToApplication.h @ 305:305f251cc981 cleanup-4
bugfix, consistency: show deco/NDL really after 1 minute divetime
Related to commit 02d10d955be2. We intended to show deco/NDL after
1 minute divetime, but we included the surface seconds as well.
And yes, this can hardly be called a bugfix. Its simply more
consistent to relate the actual divetime on the display (which
is without surface seconds) with the appearance of deco/NDL after
exactly 1 minute, instead of about 1 minute.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Tue, 21 May 2019 11:11:05 +0200 |
parents | 5f11787b4f42 |
children |
line wrap: on
line source
/////////////////////////////////////////////////////////////////////////////// /// -*- coding: UTF-8 -*- /// /// \file Discovery/Inc/firmwareJumpToApplication.h /// \brief jump to application in higher flash region /// \author heinrichs weikamp gmbh /// \date 05-May-2015 /// /// $Id$ /////////////////////////////////////////////////////////////////////////////// /// \par Copyright (c) 2014-2018 Heinrichs Weikamp gmbh /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU General Public License as published by /// the Free Software Foundation, either version 3 of the License, or /// (at your option) any later version. /// /// This program is distributed in the hope that it will be useful, /// but WITHOUT ANY WARRANTY; without even the implied warranty of /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /// GNU General Public License for more details. /// /// You should have received a copy of the GNU General Public License /// along with this program. If not, see <http://www.gnu.org/licenses/>. ////////////////////////////////////////////////////////////////////////////// /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef FIRMWARE_JUMP_TO_APPLICATION_H #define FIRMWARE_JUMP_TO_APPLICATION_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" uint8_t firmware_MainCodeIsProgammed(void); void firmware_JumpTo_Application(void); #endif // FIRMWARE_JUMP_TO_APPLICATION_H