rename next -> dump_next

This commit is contained in:
steve 2024-04-12 14:32:19 +01:00
parent eb1a8cad78
commit e59459ff5b
1 changed files with 3 additions and 3 deletions

View File

@ -684,7 +684,6 @@ void setup()
**/ **/
char line[120]; char line[120];
uint32_t next = 0;
void loop() void loop()
{ {
@ -700,6 +699,7 @@ void loop()
uint32_t start = getHex32(pCursor); uint32_t start = getHex32(pCursor);
uint32_t end = getHex32(pCursor); uint32_t end = getHex32(pCursor);
uint32_t val = getHex32(pCursor); uint32_t val = getHex32(pCursor);
static uint32_t dump_next = 0;
if ((cmd != CMD_LAST_STATUS) && (cmd != CMD_INVALID)) if ((cmd != CMD_LAST_STATUS) && (cmd != CMD_INVALID))
{ {
@ -726,8 +726,8 @@ void loop()
break; break;
case CMD_DUMP: case CMD_DUMP:
start = if_unspec(start, next); start = if_unspec(start, dump_next);
next = dumpBlock(start, if_unspec(end, start + 0xff)); dump_next = dumpBlock(start, if_unspec(end, start + 0xff));
break; break;
case CMD_ERASE: case CMD_ERASE: