commands: spi: do not restrict spi's data to be hex-formatted
Change the default base to 0 to be consistent with the "mw" command and
particularly allow decimally formatted data.

The price to pay is needing the usual prefix "0x" for each hex-formatted number.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9d70373 commit 23b64199bc39b68e978ddc5e09274ea11c49d0e1
@Ulrich Ölmann Ulrich Ölmann authored on 19 Oct 2017
Sascha Hauer committed on 23 Oct 2017
Showing 1 changed file
View
commands/spi.c