Fixed using myoptarg instead of optarg

This commit is contained in:
bazooka joe
2019-02-21 09:45:45 +01:00
committed by Beat Küng
parent ae335f6bd8
commit 7bac0e03de
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ pca9685_main(int argc, char *argv[])
break;
case 'b':
i2cdevice = strtol(optarg, NULL, 0);
i2cdevice = strtol(myoptarg, NULL, 0);
break;
default: