
7 Aug
2015
7 Aug
'15
11:32 p.m.
Hi Lukasz,
On Sat, Jul 25, 2015 at 3:11 AM, Lukasz Majewski l.majewski@majess.pl wrote:
This function allows writing via DFU data stored from fixed buffer address (like e.g. loadaddr env variable).
Such predefined buffers are used in the update_tftp() code. In fact this function is a wrapper on the dfu_write() and dfu_flush().
Signed-off-by: Lukasz Majewski l.majewski@majess.pl
Changes for v2:
- Use min() macro instead of comparison
- Change definition of left variable to be unsigned long - this allowed safe usage of min() macro
Address Simon's nits and then, Acked-by: Joe Hershberger joe.hershberger@ni.com