_cyw43_write_reg
assigns to last_size
/_header
/_backplane_window
variables which are never used
#2305
Milestone
_cyw43_write_reg
assigns to last_size
/_header
/_backplane_window
variables which are never used
#2305
The cyw43 SPI transport
_cyw43_write_reg()
function has this bit of code in it:(
self
is a cyw43 driver instance.)These
last_xxx
variables are never used bycyw43-driver
becauseF1_OVERFLOW_CHANGE
is permanently disabled. And that feature even has comments that it never actually worked.It would be good to get rid of these variables in the cyw43 driver data structure, to save a little bit of RAM and clean it up. So I propose removing their use from this sdk.
Alternatively the above code could be guarded by a
#if F1_OVERFLOW_CHANGE
, but then that config option would need to be made public, probably namedCYW43_F1_OVERFLOW_CHANGE
.The text was updated successfully, but these errors were encountered: