summaryrefslogtreecommitdiff
path: root/common/cmd_dtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_dtt.c')
-rw-r--r--common/cmd_dtt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c
index 956dc69da..7783c880b 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"
);