summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBluebie <a@creativepony.com>2013-10-07 11:13:29 +1100
committerBluebie <a@creativepony.com>2013-10-07 11:13:29 +1100
commitb220fc49f4beaf200cfbf088721c09823b274905 (patch)
tree77b0dc71d1e01959804e048d406f0a0dd64969cd
parent4d2fe558400b5c9d3028a0a5a6800740448d87e5 (diff)
parent37fed5ca98cf5d47f9aa75dab6463e075643616f (diff)
downloadmicronucleus-b220fc49f4beaf200cfbf088721c09823b274905.tar.gz
micronucleus-b220fc49f4beaf200cfbf088721c09823b274905.tar.bz2
micronucleus-b220fc49f4beaf200cfbf088721c09823b274905.zip
Merge branch 'master' of github.com:Bluebie/micronucleus-t85v1.06
-rw-r--r--commandline/examples/micronucleus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commandline/examples/micronucleus.c b/commandline/examples/micronucleus.c
index 7f5fd8c..dc567da 100644
--- a/commandline/examples/micronucleus.c
+++ b/commandline/examples/micronucleus.c
@@ -237,7 +237,7 @@ int main(int argc, char **argv) {
printf(">> Reconnected! Continuing upload sequence...\n");
} else if (res != 0) {
- printf(">> Abort mission! %d error has occured ...\n", res);
+ printf(">> Flash erase error %d has occured ...\n", res);
printf(">> Please unplug the device and restart the program.\n");
return EXIT_FAILURE;
}
@@ -247,7 +247,7 @@ int main(int argc, char **argv) {
setProgressData("writing", 5);
res = micronucleus_writeFlash(my_device, endAddress, dataBuffer, printProgress);
if (res != 0) {
- printf(">> Abort mission! An error has occured ...\n");
+ printf(">> Flash write error %d has occured ...\n", res);
printf(">> Please unplug the device and restart the program.\n");
return EXIT_FAILURE;
}
@@ -261,7 +261,7 @@ int main(int argc, char **argv) {
res = micronucleus_startApp(my_device);
if (res != 0) {
- printf(">> Abort mission! An error has occured ...\n");
+ printf(">> Run error %d has occured ...\n", res);
printf(">> Please unplug the device and restart the program. \n");
return EXIT_FAILURE;
}