Oliver Fabel hace 1 año
padre
commit
042d0bdd47
Se han modificado 3 ficheros con 2 adiciones y 10 borrados
  1. 1 2
      docs/pages/features.md
  2. 1 1
      lib/micropython
  3. 0 7
      upython_splash.c

+ 1 - 2
docs/pages/features.md

@@ -13,6 +13,7 @@ The following features are enabled and supported by the interpreter:
 * Read and write files from and to the SD card.
 * The `time` module.
 * The `random` module.
+* The `io` module.
 * The `float` data type.
 * Support for [decorator](https://docs.python.org/3/glossary.html#term-decorator) functions.
 * The `setattr` function.
@@ -46,9 +47,7 @@ The following features are disabled and _not_ supported by the interpreter:
 * The `slice` object.
 * The `frozenset` object.
 * The `property` decorator.
-* The `range` function with `start`, `stop` and `step` attributes.
 * The `next` function with a second argument.
-* The `round` function with integers.
 * All special methods for user classes (e.g. `__imul__`).
 * The `enumerate` function.
 * The `compile` function.

+ 1 - 1
lib/micropython

@@ -1 +1 @@
-Subproject commit a92199d3c33b322edc7c98c21af594b43cb6d8d8
+Subproject commit 69839afcf5230388ceb9c88da7ffc6bd3c1c4a0a

+ 0 - 7
upython_splash.c

@@ -79,10 +79,6 @@ Action upython_splash_screen() {
     FuriPubSub* input_event_queue = furi_record_open(RECORD_INPUT_EVENTS);
     FuriPubSubSubscription* input_event = furi_pubsub_subscribe(input_event_queue, on_input, NULL);
 
-    ViewPort* view_port = view_port_alloc();
-
-    gui_add_view_port(gui, view_port, GuiLayerFullscreen);
-
     Canvas* canvas = gui_direct_draw_acquire(gui);
 
     canvas_draw_icon(canvas, 0, 0, &I_splash);
@@ -110,9 +106,6 @@ Action upython_splash_screen() {
     furi_pubsub_unsubscribe(input_event_queue, input_event);
 
     gui_direct_draw_release(gui);
-    gui_remove_view_port(gui, view_port);
-
-    view_port_free(view_port);
 
     furi_record_close(RECORD_INPUT_EVENTS);
     furi_record_close(RECORD_GUI);