Skip to content

Commit 1050cda

Browse files
committed
Fix identification of arduino_as_isp programmer
1 parent 46893be commit 1050cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stk500.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ static int stk500_open(PROGRAMMER *pgm, const char *port) {
860860
return -1;
861861

862862
if(pgm->bitclock) {
863-
if(str_eq(pgm->type, "arduino_as_isp")) // The Arduino as ISP will crash if we change the bitclock
863+
if(str_caseeq(pgmid, "arduino_as_isp")) // The Arduino as ISP will crash if we change the bitclock
864864
pmsg_warning("-c %s does not support adjustable bitclock speed; ignoring -B\n", pgmid);
865865
else {
866866
if(!(pgm->extra_features & HAS_BITCLOCK_ADJ))

0 commit comments

Comments
 (0)