[PATCH 3/3] commands: add i2c commands

Eric Bénard eric at eukrea.com
Tue May 18 06:04:31 EDT 2010


Le 18/05/2010 11:26, Eric Bénard a écrit :
> +static int do_i2c_write(struct command *cmdtp, int argc, char *argv[])
.../...
> +		for (i = 0; i<  count; i++) {
> +			tmp = hex2_bin(argv[optind+i]);
> +			if (tmp<  1) {
this should be < 0

Eric



More information about the barebox mailing list