Ticket #23120: patch-stk500v2.c.diff

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

    old new  
    626626
    627627  DEBUG("STK500V2: stk500v2_getsync()\n");
    628628
    629   if (PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII)
     629  if ((PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII) || (PDATA(pgm)->pgmtype == PGMTYPE_AVRISP_MKII))
    630630    return 0;
    631631
    632632retry: