Skip to content

Commit a98d25b

Browse files
authored
Merge branch 'rm690b0' into copilot/check-branch-changes-rm690b0
2 parents 14f8e9b + 99c4358 commit a98d25b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

locale/circuitpython.pot

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,6 @@ msgid "Buffer too short by %d bytes"
711711
msgstr ""
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 ""
874873
msgid "Coordinate arrays types have different sizes"
875874
msgstr ""
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
879877
msgid "Could not allocate DMA capable buffer"
880878
msgstr ""
881879

ports/espressif/common-hal/qspibus/QSPIBus.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,12 +497,10 @@ bool common_hal_qspibus_qspibus_bus_free(mp_obj_t obj) {
497497

498498
bool 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

0 commit comments

Comments
 (0)