[chirp_devel] [PATCH] [ic2820] Use explicit floor division #7431
Joseph.P.Scanlan at n7xsd.us
Sat Sep 4 10:34:10 PDT 2021
# HG changeset patch
# User <Joseph.P.Scanlan at n7xsd.us>
# Date 1630776378 25200
# Sat Sep 04 10:26:18 2021 -0700
# Node ID 55a4272383295cc91a02e6ef09afb41934b7c6b2
# Parent c823f6066d0e9533416f5e313821582bd899aff7
[ic2820] Use explicit floor division #7431
diff -r c823f6066d0e -r 55a427238329 chirp/drivers/ic2820.py
--- a/chirp/drivers/ic2820.py Sun Aug 29 13:25:46 2021 -0700
+++ b/chirp/drivers/ic2820.py Sat Sep 04 10:26:18 2021 -0700
@@ -117,7 +117,7 @@
def _wipe_memory(mem, char):
- mem.set_raw(char * (mem.size() / 8))
+ mem.set_raw(char * (mem.size() // 8))
@directory.register
More information about the chirp_devel
mailing list