commit c5c8dc19bef9923a692953e672042cf47d64de70
parent 60baa2c2f870aa1cd5a16c6c34e2977faf4468a7
Author: John Crispin <blogic@openwrt.org>
Date: Fri, 6 Nov 2015 22:34:59 +0100
libmraa: board detection was broken after the name changed
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/libmraa/patches/0002-add-mips-support.patch b/libs/libmraa/patches/0002-add-mips-support.patch
@@ -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;
+ }
+ }