git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
partial fix to gpio stuff (limit what can be exported)
[matches/MCTX3420.git]
/
server
/
bbb_pin_defines.h
diff --git
a/server/bbb_pin_defines.h
b/server/bbb_pin_defines.h
index
dba2d5c
..
661f969
100644
(file)
--- a/
server/bbb_pin_defines.h
+++ b/
server/bbb_pin_defines.h
@@
-9,9
+9,9
@@
/** GPIO0 defines **/
#define GPIO0_1 1
/** GPIO0 defines **/
#define GPIO0_1 1
-#define GPIO0_2 2
-
//
#define GPIO0_3 3 // Used for PWM
-//#define GPIO0_4 4 // Used for PWM
+#define GPIO0_2 2
// Used for PWM
+#define GPIO0_3 3 // Used for PWM
+#define GPIO0_4 4
#define GPIO0_5 5
#define GPIO0_6 6
#define GPIO0_7 7
#define GPIO0_5 5
#define GPIO0_6 6
#define GPIO0_7 7
@@
-111,8
+111,8
@@
#define GPIO2_31 95
#define GPIO2_32 96
#define GPIO2_31 95
#define GPIO2_32 96
-/** Number of GPIO pins **/
-#define GPIO_NUM_PINS
97
+/** Number of
useable
GPIO pins **/
+#define GPIO_NUM_PINS
50
/** Export path **/
#define GPIO_DEVICE_PATH "/sys/class/gpio"
/** Export path **/
#define GPIO_DEVICE_PATH "/sys/class/gpio"
UCC
git Repository :: git.ucc.asn.au