Use flags for gpio driver to configure available pins.
This commit is contained in:
@@ -744,6 +744,7 @@ void init_dev(dp)
|
||||
dp->d_maddr = 0;
|
||||
dp->d_msize = 0;
|
||||
dp->d_npins = 0;
|
||||
dp->d_flags = 0;
|
||||
dp->d_mask = "null";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user