summaryrefslogtreecommitdiff
path: root/cmd/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/led.c')
-rw-r--r--cmd/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/led.c b/cmd/led.c
index aa7751933e..48a02baf50 100644
--- a/cmd/led.c
+++ b/cmd/led.c
@@ -93,7 +93,7 @@ int do_led(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
if (cmd == LEDST_BLINK) {
if (argc < 4)
return CMD_RET_USAGE;
- freq_ms = simple_strtoul(argv[3], NULL, 10);
+ freq_ms = dectoul(argv[3], NULL);
}
#endif
ret = led_get_by_label(led_label, &dev);