Advertisement
Guest User

Untitled

a guest
May 19th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1.         if (strcmp(argv[1], "--read-eeprom") == 0)
  2.             _read = 1;
  3.         else if (strcmp(argv[1], "--erase-eeprom") == 0)
  4.             _erase = 1;
  5.         else if (strcmp(argv[1], "--flash-eeprom") == 0)
  6.             _flash = 1;
  7.         else
  8.         {
  9.             printf ("Can't open configuration file\n");
  10.             exit (-1);
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement