libmraa: board detection was broken after the name changed

Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
John Crispin 2015-11-06 22:34:59 +01:00
parent 8a70ddefc7
commit ee0bb7b9df
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ if (fh != NULL) {
+ while (getline(&line, &len, fh) != -1) {
+ if (strncmp(line, "machine", 7) == 0) {
+ if (strstr(line, "MediaTek LinkIt Smart7688")) {
+ if (strstr(line, "MediaTek LinkIt Smart 7688")) {
+ platform_type = MRAA_MTK_LINKIT;
+ }
+ }