9
0
Fork 0

commands: i2c: change 0X to 0x

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jan Luebbe 2013-04-08 17:43:28 +02:00 committed by Sascha Hauer
parent c3995e85d2
commit 062a2fc2ea
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ static int do_i2c_probe(int argc, char *argv[])
if (stopaddr > 0x7F)
stopaddr = 0x7F;
printf("probing i2c range 0X%02x - 0x%02x :\n", startaddr, stopaddr);
printf("probing i2c range 0x%02x - 0x%02x :\n", startaddr, stopaddr);
for (addr = startaddr; addr <= stopaddr; addr++) {
client.addr = addr;
ret = i2c_write_reg(&client, 0x00, &reg, 0);