From 1ea8f82c6837d196e5e14fb1e33a21f79257b75d Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 10 Apr 2024 19:32:59 +0100 Subject: [PATCH] cleanups --- TommyPROM/TommyPROM.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TommyPROM/TommyPROM.ino b/TommyPROM/TommyPROM.ino index dbedd5c..d2862bf 100644 --- a/TommyPROM/TommyPROM.ino +++ b/TommyPROM/TommyPROM.ino @@ -95,7 +95,7 @@ XModem xmodem(prom, cmdStatus); * CLI parse functions */ const char hex[] = "0123456789abcdef"; -const uint32_t unspec = ~0;; +const uint32_t unspec = ~0; inline uint32_t if_unspec(uint32_t val, uint32_t repl) { return val == unspec? repl: val; } enum { @@ -406,7 +406,8 @@ uint32_t dumpBlock(uint32_t start, uint32_t end) { Serial.println(); } - return end+1; + + return end+1; }