Mercurial > public > ostc4
view Discovery/Src/gfx_fonts.c @ 670:7a352b449055 Betatest
Reduce display brightness in case the charger is connected:
A high display brigthness causes also a higher current consumption and as a result a slower charge speed shown in the charger time estimation. In order to have a reproducable value the display brightness is reduced in case the charger is connected.
author | Ideenmodellierer |
---|---|
date | Sat, 12 Mar 2022 22:54:26 +0100 |
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