* buspirate.c: Initialise firmware version to v0.0

prior to parsing the buspirate banner.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@906 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
mludvig 2010-01-12 09:52:40 +00:00
parent 92b8065a02
commit d5023fbd6d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-01-12 Michal Ludvig <mludvig@logix.net.nz>
* buspirate.c: Initialise firmware version to v0.0
prior to parsing the buspirate banner.
2010-01-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Clean-up the Xmega erase functions.

View File

@ -535,7 +535,7 @@ static void buspirate_enable(struct programmer_t *pgm)
{
unsigned char *reset_str = "#\n";
char *rcvd;
int fw_v1, fw_v2;
int fw_v1 = 0, fw_v2 = 0;
int rc, print_banner = 0;
printf("Detecting BusPirate...\n");