• howientc's avatar
    fel: Improve file_upload() when no progress callback is passed · 60601d61
    howientc authored
    
    
    Until now, the function would always pass `true` as the "progress"
    parameter to aw_write_buffer(). This has the potential drawback
    of limiting the maximum USB transfer size.
    
    By selectively passing `false` instead (with no progress function
    active), we hint that aw_write_buffer() and subsequent routines
    don't have to care about callbacks; so that usb_bulk_send() is
    free to select a transfer size of AW_USB_MAX_BULK_SEND.
    Reviewed-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
    60601d61
fel.c 57.9 KB