Merge branch 'master' of github.com:xmos/lib_xua

This commit is contained in:
xross
2018-03-09 16:12:22 +00:00
3 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@@ -26,3 +26,5 @@ _build*
.waf-*/
build/
host/xmosdfu/xmosdfu
.build*
*.pyc

View File

@@ -318,6 +318,11 @@ int read_dfu_image(char *file)
}
break;
}
else if (numBytes < 0)
{
fprintf(stderr,"dfu_upload error (%d)\n", numBytes);
break;
}
fwrite(block_data, 1, block_size, outFile);
block_count++;
}

1
tests/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
test_results.csv