diff Discovery/Src/gfx_engine.c @ 314:e141b571a03d Bugfix_Flip_FirmwareUpdate

Reinitialize logos after flip of display After selection to flip the display the logos were still show in old position (upside down) in case of a parameter change or firmware update. To avoid this the logos are drawn with new orientation after flip has been selected.
author ideenmodellierer
date Mon, 17 Jun 2019 21:46:56 +0200
parents 87d54b4fd946
children 89f6857276f8
line wrap: on
line diff
--- a/Discovery/Src/gfx_engine.c	Sat Jun 01 10:12:15 2019 +0200
+++ b/Discovery/Src/gfx_engine.c	Mon Jun 17 21:46:56 2019 +0200
@@ -250,7 +250,7 @@
 }
 
 
-static void GFX_build_hw_background_frame(void)
+void GFX_build_hw_background_frame(void)
 {
 	GFX_DrawCfgScreen	tLogoTemp;
 	SWindowGimpStyle windowGimp;
@@ -284,7 +284,7 @@
 }
 
 
-static void GFX_build_logo_frame(void)
+void GFX_build_logo_frame(void)
 {
 	GFX_DrawCfgScreen	tLogoTemp;
 	SWindowGimpStyle windowGimp;