Follow-up Comment #1, patch #7603 (project avrdude):

Odd.  Because the new programmer type "inherits" from stk500v2, there is no
place to store private data - that is, the cookie is dedicated to stk500v2
(because I can't access the data structure outside of stk500v2.c).

So where do you think I can store my parameter data?  I'm REALLY tempted to
use a global :)

I realize that programmer type inheritance wasn't a top concept when this was
built.  I just don't know how to get around this without duplicating a lot of
code, or creating a global or even a static local variable.

Any insight would be fantastic.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to