Update luts (remove GPIO 117, which was marked as reserved)
[matches/MCTX3420.git] / server / bbb_pin_defines.h
index a7aa932..868636b 100644 (file)
 #define GPIO2_31 95
 #define GPIO2_32 96
 
-/* Luts */
+/** Export path **/
+#define GPIO_DEVICE_PATH "/sys/class/gpio"
+
 /** Number of useable GPIO pins **/
-#define GPIO_NUM_PINS 44
+#define GPIO_NUM_PINS 43
 /** The max usable GPIO number **/
-#define GPIO_MAX_NUMBER 117
+#define GPIO_MAX_NUMBER 115
 
+/* Luts */
 extern const unsigned char g_pin_real_to_gpio[BBB_PIN_COUNT+1];
 extern const unsigned char g_pin_gpio_to_index[GPIO_MAX_NUMBER+1];
 extern const unsigned char g_pin_index_to_gpio[GPIO_NUM_PINS];
 
-/** Export path **/
-#define GPIO_DEVICE_PATH "/sys/class/gpio"
-
 #define ADC_BITS 12
 #define ADC_DIGITS 5
 #define ADC0 0

UCC git Repository :: git.ucc.asn.au