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:
2989df3
)
maa.c: complain if we didn't detect a valid platform
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 20 Jun 2014 15:46:05 +0000
(16:46 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 20 Jun 2014 15:46:05 +0000
(16:46 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/maa.c
patch
|
blob
|
history
diff --git
a/src/maa.c
b/src/maa.c
index
4cb3283
..
97e19a8
100644
(file)
--- a/
src/maa.c
+++ b/
src/maa.c
@@
-87,8
+87,12
@@
maa_init()
case MAA_INTEL_GALILEO_GEN2:
plat = maa_intel_galileo_gen2();
break;
+ case MAA_INTEL_GALILEO_GEN1:
+ plat = maa_intel_galileo_rev_d();
+ break;
default:
plat = maa_intel_galileo_rev_d();
+ fprintf(stderr, "Platform not found, initialising MAA_INTEL_GALILEO_GEN1\n");
}
return MAA_SUCCESS;