Ticket #23709: patch-stk500v2.c.diff

File patch-stk500v2.c.diff, 354 bytes (added by ranauei@…, 15 years ago)
  • stk500v2.c

    old new  
    667667
    668668  DEBUG("STK500V2: stk500v2_getsync()\n");
    669669
    670   if (PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII)
     670  if ((PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII) || (PDATA(pgm)->pgmtype == PGMTYPE_AVRISP_MKII))
    671671    return 0;
    672672
    673673retry: