mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ifxmips] we have a maximum of 32 gpios
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20265 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
1 parent
044148567b
commit
80d12ff0fe
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user