Skip to content
Snippets Groups Projects
Commit 7caa13fd authored by Tom Rix's avatar Tom Rix Committed by Wolfgang Denk
Browse files

Fix a typo in the instructions on using omap3's gpio interface.


Using the example for reading a gpio, shows the problem.
NULL should be the gpio number.

Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
Acked-by: default avatarDirk Behme <dirk.behme@googlemail.com>
parent 0c9520ef
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ To clear a bit :
To read a bit :
if (!omap_request_gpio(N)) {
omap_set_gpio_direction(NULL, 1);
omap_set_gpio_direction(N, 1);
val = omap_get_gpio_datain(N);
omap_free_gpio(N);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment