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:
parent
0236b3314f
commit
0bac52c1cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276168
@ -56,11 +56,11 @@ HEADER {
|
||||
};
|
||||
|
||||
#
|
||||
# Get total number of pins
|
||||
# Get maximum pin number
|
||||
#
|
||||
METHOD int pin_max {
|
||||
device_t dev;
|
||||
int *npins;
|
||||
int *maxpin;
|
||||
};
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user