Skip to content

transfer_to_buffer_now body python not matching function signature #2

@tanant

Description

@tanant

Was playing with a RP2040 and mucking around with your code, I don't use this function (yet) however this looks like an error here on line 292 where counter is referenced?

picofreq/pico_devices.py

Lines 290 to 292 in c67aa10

def transfer_to_buffer_now(self, addr, count):
self.set_write_addr(addressof(addr))
self.set_trans_count(counter, True)

I'm guessing it should be self.set_trans_count(count, True) to match the function signature of (self, addr, count)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions