File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ int main(int argc, char **argv) {
237237 printf (">> Reconnected! Continuing upload sequence...\n" );
238238
239239 } else if (res != 0 ) {
240- printf (">> Abort mission! %d error has occured ...\n" , res );
240+ printf (">> Flash erase error %d has occured ...\n" , res );
241241 printf (">> Please unplug the device and restart the program.\n" );
242242 return EXIT_FAILURE ;
243243 }
@@ -247,7 +247,7 @@ int main(int argc, char **argv) {
247247 setProgressData ("writing" , 5 );
248248 res = micronucleus_writeFlash (my_device , endAddress , dataBuffer , printProgress );
249249 if (res != 0 ) {
250- printf (">> Abort mission! An error has occured ...\n" );
250+ printf (">> Flash write error %d has occured ...\n" , res );
251251 printf (">> Please unplug the device and restart the program.\n" );
252252 return EXIT_FAILURE ;
253253 }
@@ -261,7 +261,7 @@ int main(int argc, char **argv) {
261261 res = micronucleus_startApp (my_device );
262262
263263 if (res != 0 ) {
264- printf (">> Abort mission! An error has occured ...\n" );
264+ printf (">> Run error %d has occured ...\n" , res );
265265 printf (">> Please unplug the device and restart the program. \n" );
266266 return EXIT_FAILURE ;
267267 }
You can’t perform that action at this time.
0 commit comments