x86/intel_minnow_max.c: add board gpio count
authorBrendan Le Foll <brendan.le.foll@intel.com>
Fri, 9 Jan 2015 12:04:37 +0000 (12:04 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 1 Jan 2001 02:53:16 +0000 (02:53 +0000)
Whilst this value is not used because it's only required by the aio module it
is interesting to have this information if we want to expose it to the user

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/x86/intel_minnow_max.c

index 8b71588..8c22ba0 100644 (file)
@@ -91,7 +91,7 @@ mraa_intel_minnow_max()
     strncpy(b->platform_name, PLATFORM_NAME, b->platform_name_length);
 
     b->phy_pin_count = MRAA_INTEL_MINNOW_MAX_PINCOUNT;
-    //b->gpio_count = 14;
+    b->gpio_count = MRAA_INTEL_MINNOW_MAX_PINCOUNT;
     b->aio_count = 0;
     b->adc_raw = 0;
     b->adc_supported = 0;