diff --git a/tsschecker.xcodeproj/project.xcworkspace/xcuserdata/tihmstar.xcuserdatad/UserInterfaceState.xcuserstate b/tsschecker.xcodeproj/project.xcworkspace/xcuserdata/tihmstar.xcuserdatad/UserInterfaceState.xcuserstate index 554c62ee..0403aee8 100644 Binary files a/tsschecker.xcodeproj/project.xcworkspace/xcuserdata/tihmstar.xcuserdatad/UserInterfaceState.xcuserstate and b/tsschecker.xcodeproj/project.xcworkspace/xcuserdata/tihmstar.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/tsschecker.xcodeproj/xcuserdata/tihmstar.xcuserdatad/xcschemes/tsschecker.xcscheme b/tsschecker.xcodeproj/xcuserdata/tihmstar.xcuserdatad/xcschemes/tsschecker.xcscheme index a2e705a3..e8722bb3 100644 --- a/tsschecker.xcodeproj/xcuserdata/tihmstar.xcuserdatad/xcschemes/tsschecker.xcscheme +++ b/tsschecker.xcodeproj/xcuserdata/tihmstar.xcuserdatad/xcschemes/tsschecker.xcscheme @@ -63,7 +63,7 @@ diff --git a/tsschecker/main.c b/tsschecker/main.c index 1397cba0..ca3d2490 100644 --- a/tsschecker/main.c +++ b/tsschecker/main.c @@ -253,7 +253,7 @@ int main(int argc, const char * argv[]) { jsmntok_t *firmwareTokens = NULL; if (!devVals.deviceModel) - if (!(devVals.deviceModel = (char*)getModelFromBoardconfig(devVals.deviceBoard))) + if (devVals.deviceBoard && !(devVals.deviceModel = (char*)getModelFromBoardconfig(devVals.deviceBoard))) reterror(-25, "[TSSC] If you using --boardconfig please also specify devicemodel with -d\n");