summaryrefslogtreecommitdiff
path: root/doc/README.omap3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.omap3')
-rw-r--r--doc/README.omap32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.omap3 b/doc/README.omap3
index e05e816df4..66e781d0f8 100644
--- a/doc/README.omap3
+++ b/doc/README.omap3
@@ -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);
}