Compare commits
1 Commits
67beda0dbd
...
2ca8941899
| Author | SHA1 | Date |
|---|---|---|
|
|
2ca8941899 |
|
|
@ -36,10 +36,6 @@ void executeCommand(CommandLine cmdLine) {
|
||||||
// WRITE command: Takes a hex address as argument, reads data from UART and writes it to the EEPROM.
|
// WRITE command: Takes a hex address as argument, reads data from UART and writes it to the EEPROM.
|
||||||
commandRead(cmdLine.arg);
|
commandRead(cmdLine.arg);
|
||||||
}
|
}
|
||||||
else if (strcmp(cmdLine.command, "ERASE") == 0) {
|
|
||||||
// ERASE command: Takes a hex address range as argument and writes 0x00 bytes to the specified range.
|
|
||||||
commandRead(cmdLine.arg);
|
|
||||||
}
|
|
||||||
else if (strcmp(cmdLine.command, "TESTREAD") == 0) {
|
else if (strcmp(cmdLine.command, "TESTREAD") == 0) {
|
||||||
// TESTREAD command: for testing purposes, reads a few bytes and returns them in a human readable format.
|
// TESTREAD command: for testing purposes, reads a few bytes and returns them in a human readable format.
|
||||||
commandTestRead();
|
commandTestRead();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue