avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #7718] Merge global data of avrftdi in a private da


From: Hannes Weisbach
Subject: [avrdude-dev] [patch #7718] Merge global data of avrftdi in a private data structure
Date: Sun, 05 Feb 2012 16:07:29 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

Follow-up Comment #2, patch #7718 (project avrdude):

Yes, basically the patches are the same. The setup/teardown functions used by
#7635 are nice.
However, #7635 does have the problem, that data is written to the FTDI before
the ftdi_context struct is properly initialised, neither does it use the
appropriate allocation function ftdi_new() to allocate memory for the
ftdi_context struct.
I also created a separate function to check the pin limit which reduces code
duplication in add_pin() and add_pins() functions.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7718>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]