Changeset 5921 for i2c-tools/trunk/tools
- Timestamp:
- 02/15/11 17:06:59 (15 months ago)
- Files:
-
- 1 modified
-
i2c-tools/trunk/tools/i2cset.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/tools/i2cset.c
r5920 r5921 266 266 } 267 267 268 /* Old method to provide the value mask, deprecated and no longer269 documented but still supported for compatibility */270 if (argc > flags + 6) {271 if (maskp) {272 fprintf(stderr, "Error: Data value mask provided twice!\n");273 help();274 }275 fprintf(stderr, "Warning: Using deprecated way to set the data value mask!\n");276 fprintf(stderr, " Please switch to using -m.\n");277 maskp = argv[flags+6];278 }279 280 268 if (maskp) { 281 269 vmask = strtol(maskp, &end, 0);
