Skip to content

Commit

Permalink
fix usbtiny typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Dec 14, 2017
1 parent c210f70 commit e76928c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osx/qmk_toolbox/Flashing.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ - (void)flash:(NSString *)mcu withFile:(NSString *)file {
[self flashKiibohdWithFile:file];
if ([delegate canFlash:AVRISP])
[self flashAVRISP:mcu withFile:file];
if ([delegate canFlash:Kiibohd])
if ([delegate canFlash:USBTiny])
[self flashUSBTiny:mcu withFile:file];
}

Expand Down Expand Up @@ -136,7 +136,7 @@ - (void)flashAVRISP:(NSString *)mcu withFile:(NSString *)file {
}

- (void)flashUSBTiny:(NSString *)mcu withFile:(NSString *)file {
[self runProcess:@"avrdude" withArgs:@[@"-p", mcu, @"-c", @"usbtinp", @"-U", [NSString stringWithFormat:@"flash:w:%@:i", file], @"-P", caterinaPort, @"-C", @"avrdude.conf"]];
[self runProcess:@"avrdude" withArgs:@[@"-p", mcu, @"-c", @"usbtiny", @"-U", [NSString stringWithFormat:@"flash:w:%@:i", file], @"-P", caterinaPort, @"-C", @"avrdude.conf"]];
}

@end
@end

0 comments on commit e76928c

Please sign in to comment.