Explorar el Código

fixing some big bugs

MX hace 2 años
padre
commit
8f11f9afd5
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      application.fam
  2. 1 1
      game_of_life.c

+ 1 - 1
application.fam

@@ -11,6 +11,6 @@ App(
     fap_category="Games",
     fap_author="@tgxn (original by @itsyourbedtime)",
     fap_weburl="https://github.com/tgxn/flipperzero-firmware/blob/dev/applications/game_of_life/game_of_life.c",
-    fap_version="1.0",
+    fap_version="1.1",
     fap_description="Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.",
 )

+ 1 - 1
game_of_life.c

@@ -148,8 +148,8 @@ int32_t game_of_life_app(void* p) {
 
         update_field(_state);
 
-        view_port_update(view_port);
         furi_mutex_release(_state->mutex);
+        view_port_update(view_port);
     }
 
     view_port_enabled_set(view_port, false);