mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
we have a maximum of 32 gpios
SVN-Revision: 20265
This commit is contained in:
parent
10af553b63
commit
b306cc489a
@ -99,7 +99,7 @@ static inline void gpio_set_value_cansleep(unsigned gpio, int value)
|
||||
|
||||
static inline int gpio_is_valid(int number)
|
||||
{
|
||||
return ((unsigned)number) < 16;
|
||||
return ((unsigned)number) < 32;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user