Fix memtest abort
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 3 Aug 2020 11:05:42 +0000 (13:05 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 3 Aug 2020 11:05:42 +0000 (13:05 +0200)
examples/firmware/main.c

index 0067dff3d2530688eed0008e3ce144bf0e62657d..a726293b046f98bb4dd02e881a7b22d02f11a9dc 100644 (file)
@@ -114,6 +114,7 @@ int main(void) {
 
                        if (failcnt > 10) {
                                uart_writestr("Test canceled (more than 10 errors)\n");
+                               break;
                        }
                }
        }