This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 19th, 2013  |  syntax: C  |  size: 0.35 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.         }
clone this paste RAW Paste Data