# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1426687447 -3600 # Wed Mar 18 15:04:07 2015 +0100 # Node ID 797a3a043831083140c39ac84eba11a8a5f286e8 # Parent 06641d7d614d2f70db935c777edbc5371def666a [chirpc] Allow deleting an already empty memory
On some radio (eg ft817) empty channels can contain valid data, deleting again such a memory usually clean data
Improves #2343
diff --git a/chirpc b/chirpc --- a/chirpc +++ b/chirpc @@ -270,8 +270,7 @@ LOG.exception(e) sys.exit(1) if mem.empty: - LOG.warn("memory %s is already empty, exiting", memnum) - sys.exit(0) + LOG.warn("memory %s is already empty, deleting again", memnum) mem.empty = True radio.set_memory(mem)