Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (strcmp(argv[1], "--read-eeprom") == 0)
- _read = 1;
- else if (strcmp(argv[1], "--erase-eeprom") == 0)
- _erase = 1;
- else if (strcmp(argv[1], "--flash-eeprom") == 0)
- _flash = 1;
- else
- {
- printf ("Can't open configuration file\n");
- exit (-1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement