Improves the GPIO API description a little bit.

gpio_pin_max must return the maximum supported pin number and not the total
number of pins on the system.

PR:		157070
Submitted by:	brix
This commit is contained in:
Luiz Otavio O Souza 2014-12-24 03:24:50 +00:00
parent 0236b3314f
commit 0bac52c1cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276168

View File

@ -56,11 +56,11 @@ HEADER {
}; };
# #
# Get total number of pins # Get maximum pin number
# #
METHOD int pin_max { METHOD int pin_max {
device_t dev; device_t dev;
int *npins; int *maxpin;
}; };
# #