summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}