libmraa: board detection was broken after the name changed
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
8a70ddefc7
commit
ee0bb7b9df
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
+ if (fh != NULL) {
|
+ if (fh != NULL) {
|
||||||
+ while (getline(&line, &len, fh) != -1) {
|
+ while (getline(&line, &len, fh) != -1) {
|
||||||
+ if (strncmp(line, "machine", 7) == 0) {
|
+ if (strncmp(line, "machine", 7) == 0) {
|
||||||
+ if (strstr(line, "MediaTek LinkIt Smart7688")) {
|
+ if (strstr(line, "MediaTek LinkIt Smart 7688")) {
|
||||||
+ platform_type = MRAA_MTK_LINKIT;
|
+ platform_type = MRAA_MTK_LINKIT;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue