Skip to content

Commit 7ef8ec7

Browse files
committed
Remove assignment of cyw43 last_size/header/backplane_window variables
They are never used by the cyw43-driver code, because `F1_OVERFLOW_CHANGE` is disabled. Signed-off-by: Damien George <[email protected]>
1 parent bddd20f commit 7ef8ec7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,6 @@ static inline int _cyw43_write_reg(cyw43_int_t *self, uint32_t fn, uint32_t reg,
451451
uint32_t buf[2];
452452
buf[0] = make_cmd(true, true, fn, reg, size);
453453
buf[1] = val;
454-
if (fn == BACKPLANE_FUNCTION) {
455-
// In case of f1 overflow
456-
self->last_size = 8;
457-
self->last_header[0] = buf[0];
458-
self->last_header[1] = buf[1];
459-
self->last_backplane_window = self->cur_backplane_window;
460-
}
461454

462455
if (fn == BACKPLANE_FUNCTION) {
463456
logic_debug_set(pin_BACKPLANE_WRITE, 1);

0 commit comments

Comments
 (0)