[PATCH] commands: i2c: change 0X to 0x
Jan Luebbe
jlu at pengutronix.de
Mon Apr 8 11:43:28 EDT 2013
Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
---
commands/i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/i2c.c b/commands/i2c.c
index 8370b43..626255d 100644
--- a/commands/i2c.c
+++ b/commands/i2c.c
@@ -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, ®, 0);
--
1.8.2.rc2
More information about the barebox
mailing list