Browse Source

libmraa: board detection was broken after the name changed

Signed-off-by: John Crispin <blogic@openwrt.org>
lilik-openwrt-22.03
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>
+ 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…
Cancel
Save