[chirp_devel] New Driver patch status?

Jim Unroe
Tue Mar 6 07:56:51 PST 2018


Hi Rick,


> Any status on the Baojie BJ-218 new driver patch submitted 2/21 for issue
> #5595?
> I am attaching the patch file again, in case it got lost...

After taking a quick look that this myself, shouldn't this just be a
patch to the lt725uv.py driver and not a replacement.

There are also many places where code has commented out and it looks
to me like it should have been removed. There also seems to be quite a
few places commented code doesn't look like it is indented properly.
Here is an example of both.

+        mem.mode = self.MODES[_mem.wide]
+
+  #      val = _mem.power                            # RJD
+  #      if _mem.power == 1:                      # BJ-218 memory
only supports low / high
+  #          val = 2                                               #
bit 1 off/on
+ #       mem.power = LIST_POWER[val]         # RJD
+
+        return mem

Jim KC9HI



More information about the chirp_devel mailing list