From f8b154ba751a5cd2c7389caf954aa21365728fa0 Mon Sep 17 00:00:00 2001 From: Joshua Yang Date: Fri, 23 Feb 2018 16:01:13 +0900 Subject: [PATCH] wiringPi: Update the help for load/unload option Change-Id: I162ed996bb34bff29d760dc4df4bb36fb6a541bf --- gpio/gpio_odroid.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gpio/gpio_odroid.c b/gpio/gpio_odroid.c index 6c70916..362a81b 100755 --- a/gpio/gpio_odroid.c +++ b/gpio/gpio_odroid.c @@ -206,9 +206,10 @@ static void checkDevTree (char *argv []) fprintf (stderr, "%s: Unable to load/unload modules as this kernel has the device tree enabled.\n" " You need to edit /etc/modprobe.d/blacklist-odroid.conf or update /media/models.dts file.\n" - " if you want use spi, you shoud find spidev moudle line and remove comant. then reboot.\n" - " There is more information here:\n" - " https://wiki.odroid.com/start\n", argv [0]) ; + " If you want to use SPI, you should find out spidev module line at the blacklist-odroid.conf\n" + " and uncomment that. Then reboot to enable the module.\n\n" + " Please refer to our wiki page:\n" + " https://wiki.odroid.com/start\n", argv [0]) ; exit (1) ; } }