Browse Source

libmraa: board detection was broken after the name changed

Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin 9 years ago
parent
commit
c5c8dc19be
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      libs/libmraa/patches/0002-add-mips-support.patch

+ 1
- 1
libs/libmraa/patches/0002-add-mips-support.patch View File

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