pinmap: Added aio support.
* Intel Galileo Rev D: Added analog information * maa_check_aio, similar to maa_check_gpio, will setup multiplexers. * aio: Removed now duplicated functionality. Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@@ -28,11 +28,12 @@
|
||||
|
||||
int main ()
|
||||
{
|
||||
maa_init();
|
||||
maa_aio_context* adc_a0;
|
||||
unsigned int adc_value = 0;
|
||||
int i = 0;
|
||||
|
||||
adc_a0 = maa_aio_init(A0);
|
||||
adc_a0 = maa_aio_init(0);
|
||||
if (adc_a0 == NULL) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user