Skip to content

Commit

Permalink
Fix avrdude v8.0 issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
vonnieda committed Oct 9, 2024
1 parent 56328a2 commit f73accd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AVRFusesController.m
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ - (void)loadAvrdudeConfigs
NSString *line = [lines objectAtIndex: i];
NSRange range;
if (!avrdudeVersion) {
range = [line rangeOfString: @"Version"];
range = [line rangeOfString: @"version" options:NSCaseInsensitiveSearch];
if (range.location != NSNotFound) {
NSString *substr = [line substringFromIndex: range.location];
NSArray *comps = [substr componentsSeparatedByString: @" "];
Expand Down

0 comments on commit f73accd

Please sign in to comment.