Mercurial > public > ostc4
view Discovery/Src/gfx_fonts.c @ 864:fa431d42b5fb
Fix incorrect logging of bailout to Open Circuit when using the best gas.
This happened because the starting gas used for 'best gas' calculation
was a diluent - in most cases not a problem as the same gas is also
used as a bailout gas. Now use the 'first' open circuit gas configured as the
starting point.
Also fixes the problem of a custom bailout gas not being logged as such,
and consequently not being shown as bailout in the on-device log.
author | heinrichsweikamp |
---|---|
date | Mon, 22 Jul 2024 16:38:36 +0200 |
parents | 1c95f811967c |
children |
line wrap: on
line source
/** ****************************************************************************** * @file gfx_fonts.c * @author heinrichs/weikamp, JD Gascuel * @version V1.4.0 * @date 17-Decembre-2017 * @brief Font data (and images) stored in UPPER ROM. * ****************************************************************************** * @attention * * <h2><center>© COPYRIGHT(c) 2017 heinrichs weikamp</center></h2> * ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "gfx_fonts.h" /* Fonts in the firmware image */ #include "Fonts/font_T54_extra.h" #include "Fonts/font_T84_extra.h" #include "Fonts/font_T105_extra.h" #ifdef DEBUG # define INCLUDE_FONTS_BINARY #endif #ifdef INCLUDE_FONTS_BINARY /* Fonts fixed in upper region */ #include "Fonts/font_awe48.h" #include "Fonts/font_T24.h" #include "Fonts/font_T42.h" #include "Fonts/font_T48_plus.h" #include "Fonts/font_T54.h" #include "Fonts/font_T84.h" #include "Fonts/font_T105.h" #include "Fonts/font_T144_plus.h" /* Images fixed in upper region */ #include "Fonts/image_battery.h" #include "Fonts/image_heinrichs_weikamp.h" #include "Fonts/image_ostc.h" #endif // INCLUDE_FONTS_BINARY