File tree Expand file tree Collapse file tree
ports/espressif/common-hal/qspibus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -711,7 +711,6 @@ msgid "Buffer too short by %d bytes"
711711msgstr ""
712712
713713#: ports/cxd56/common-hal/camera/Camera.c
714- #: ports/espressif/common-hal/qspibus/QSPIBus.c
715714#: shared-bindings/busdisplay/BusDisplay.c
716715#: shared-bindings/framebufferio/FramebufferDisplay.c
717716#: shared-bindings/struct/__init__.c shared-module/struct/__init__.c
@@ -874,8 +873,7 @@ msgstr ""
874873msgid "Coordinate arrays types have different sizes"
875874msgstr ""
876875
877- #: shared-module/usb/core/Device.c
878- #: ports/espressif/common-hal/qspibus/QSPIBus.c
876+ #: ports/espressif/common-hal/qspibus/QSPIBus.c shared-module/usb/core/Device.c
879877msgid "Could not allocate DMA capable buffer"
880878msgstr ""
881879
Original file line number Diff line number Diff line change @@ -497,12 +497,10 @@ bool common_hal_qspibus_qspibus_bus_free(mp_obj_t obj) {
497497
498498bool common_hal_qspibus_qspibus_begin_transaction (mp_obj_t obj ) {
499499 qspibus_qspibus_obj_t * self = MP_OBJ_TO_PTR (obj );
500- if (!self -> bus_initialized || self -> in_transaction ) {
500+ if (!common_hal_qspibus_qspibus_bus_free ( obj ) ) {
501501 return false;
502502 }
503503 self -> in_transaction = true;
504- self -> has_pending_command = false;
505- self -> pending_command = 0 ;
506504 return true;
507505}
508506
You can’t perform that action at this time.
0 commit comments