Browse Source

50k memory requirement (now we can use qFlipper)

jblanked 9 tháng trước cách đây
mục cha
commit
dee2058b6d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      callback/callback.c

+ 2 - 1
callback/callback.c

@@ -1371,7 +1371,8 @@ static void run(FlipWorldApp *app)
         return;
     }
     free_all_views(app, true, true, false);
-    if (!is_enough_heap(60000, false)) // only need to check if they have 60k free
+    // only need to check if they have 50k free (game needs about 38k currently)
+    if (!is_enough_heap(50000, false))
     {
         easy_flipper_dialog("Error", "Not enough heap memory.\nPlease restart your Flipper.");
         return;