projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beeaab3
)
edison: add supported adc bit information
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Wed, 10 Sep 2014 15:31:49 +0000
(16:31 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Wed, 10 Sep 2014 15:31:49 +0000
(16:31 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_edison_fab_c.c
patch
|
blob
|
history
diff --git
a/src/intel_edison_fab_c.c
b/src/intel_edison_fab_c.c
index
9002947
..
e4b385a
100644
(file)
--- a/
src/intel_edison_fab_c.c
+++ b/
src/intel_edison_fab_c.c
@@
-408,6
+408,9
@@
mraa_intel_edison_fab_c()
mraa_gpio_dir(tristate, MRAA_GPIO_OUT);
mraa_intel_edison_misc_spi();
+ b->adc_raw = 12;
+ b->adc_supported = 10;
+
strncpy(b->pins[0].name, "IO0", 8);
b->pins[0].capabilites = (mraa_pincapabilities_t) {1,1,0,0,0,0,0};
b->pins[0].gpio.pinmap = 130;