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
crappy hacks to disable pin code on x86 platforms while silencing gcc
[matches/MCTX3420.git]
/
server
/
bbb_pin_defines.h
diff --git
a/server/bbb_pin_defines.h
b/server/bbb_pin_defines.h
index
ea7de7e
..
868636b
100644
(file)
--- a/
server/bbb_pin_defines.h
+++ b/
server/bbb_pin_defines.h
@@
-118,9
+118,9
@@
#define GPIO_DEVICE_PATH "/sys/class/gpio"
/** Number of useable GPIO pins **/
#define GPIO_DEVICE_PATH "/sys/class/gpio"
/** Number of useable GPIO pins **/
-#define GPIO_NUM_PINS 4
4
+#define GPIO_NUM_PINS 4
3
/** The max usable GPIO number **/
/** The max usable GPIO number **/
-#define GPIO_MAX_NUMBER 11
7
+#define GPIO_MAX_NUMBER 11
5
/* Luts */
extern const unsigned char g_pin_real_to_gpio[BBB_PIN_COUNT+1];
/* Luts */
extern const unsigned char g_pin_real_to_gpio[BBB_PIN_COUNT+1];
UCC
git Repository :: git.ucc.asn.au