sim-card
/
sam7-util
Archived
10
0
Fork 0

main: Inform the user in case the flashing has failed.

This commit is contained in:
Holger Hans Peter Freyther 2011-10-09 10:04:00 +02:00
parent c0200ec054
commit 7bc3aeb314
1 changed files with 2 additions and 0 deletions

2
main.c
View File

@ -2,6 +2,7 @@
* main.c
*
* Copyright (C) 2005 Erik Gilling, all rights reserved
* Copyright (C) 2011 Holger Hans Peter Freyther
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@ -92,6 +93,7 @@ int main( int argc, char *argv[] )
if( io_init( line ) < 0 ) {
fprintf(stderr, "Failed to initialize the SAM7 device.\n");
return 1;
}