From e76928c5ba87c81818475b9cb72962f69e52232e Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 14 Dec 2017 13:16:39 -0500 Subject: [PATCH] fix usbtiny typos --- osx/qmk_toolbox/Flashing.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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