Procházet zdrojové kódy

fixing some big bugs

MX před 2 roky
rodič
revize
9d81a28742
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 1 1
      application.fam
  2. 2 1
      mandelbrot.c

+ 1 - 1
application.fam

@@ -11,6 +11,6 @@ App(
     fap_category="Games",
     fap_category="Games",
     fap_author="@Possibly-Matt",
     fap_author="@Possibly-Matt",
     fap_weburl="https://github.com/Possibly-Matt",
     fap_weburl="https://github.com/Possibly-Matt",
-    fap_version="1.0",
+    fap_version="1.1",
     fap_description="The Mandelbrot set is the set of all so-called (complex) numbers that meet Mandelbrots simple arithmetic criterion.",
     fap_description="The Mandelbrot set is the set of all so-called (complex) numbers that meet Mandelbrots simple arithmetic criterion.",
 )
 )

+ 2 - 1
mandelbrot.c

@@ -155,8 +155,9 @@ int32_t mandelbrot_app(void* p) {
                 }
                 }
             }
             }
         }
         }
-        view_port_update(view_port);
+
         furi_mutex_release(plugin_state->mutex);
         furi_mutex_release(plugin_state->mutex);
+        view_port_update(view_port);
     }
     }
 
 
     view_port_enabled_set(view_port, false);
     view_port_enabled_set(view_port, false);