[PATCH] sam7dfu_do_dnload(): Verify sending of completion packet

Stefan Schmidt stefan at datenfreihafen.org
Sat Nov 13 22:51:21 CET 2010


Hello.

On Sat, 2010-11-13 at 10:45, Tormod Volden wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
> 
> If the completion packet is not received properly it is not
> sure anything will be written.
> 
> Also return the total number of bytes written in case of success.
> 
> Some trivial, cosmetic fixes:
> - Remove a stray perror.
> - Remove a trailing newline.

Applied, thanks.

I had to manually redo your patch as Harald renamed it from sam7 to dfu_load.
Please crosscheck if it is still right.

regards
Stefan Schmidt



More information about the devel mailing list