intel_de3815.c: Use MRAA_INTEL_DE3815_PINCOUNT macro for pincount
authorBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 26 Aug 2015 15:52:41 +0000 (16:52 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 26 Aug 2015 15:52:41 +0000 (16:52 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/x86/intel_de3815.c

index e06c913..c6a05d8 100644 (file)
@@ -44,8 +44,7 @@ mraa_intel_de3815()
     }
 
     b->platform_name = PLATFORM_NAME;
-    b->phy_pin_count = 18;
-    // b->gpio_count = 14;
+    b->phy_pin_count = MRAA_INTEL_DE3815_PINCOUNT;
     b->aio_count = 0;
     b->adc_raw = 0;
     b->adc_supported = 0;