X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_dtt.c;h=7783c880ba444f49d7993b84e8d8a8f6c7a68acb;hb=3e126484df7868e341545cce740b24b62b0cd3b7;hp=956dc69daecbd3736f86b94096c41669c06fd4ed;hpb=4985ca5af3767ffe13ea96e1dc26f88c81084414;p=u-boot diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c index 956dc69dae..7783c880ba 100644 --- a/common/cmd_dtt.c +++ b/common/cmd_dtt.c @@ -36,7 +36,7 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) /* switch to correct I2C bus */ old_bus = I2C_GET_BUS(); - I2C_SET_BUS(CFG_DTT_BUS_NUM); + I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM); /* * Loop through sensors, read @@ -55,6 +55,6 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( dtt, 1, 1, do_dtt, - "dtt - Digital Thermometer and Thermostat\n", + "Digital Thermometer and Thermostat", " - Read temperature from digital thermometer and thermostat.\n" );