diff --git a/osx/qmk_toolbox/Flashing.m b/osx/qmk_toolbox/Flashing.m index 9d40d4bdd8..6409bcc846 100644 --- a/osx/qmk_toolbox/Flashing.m +++ b/osx/qmk_toolbox/Flashing.m @@ -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]; } @@ -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 \ No newline at end of file +@end