<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>(I'm finally getting back to this issue I started working on last
year.)<br>
<br>
First of all, who on this list has an <b>AnyTone 5888UV</b>, a <b>Polmar
DB-50M</b>, or a <b>Intek HR-2040</b>?<br>
<br>
The <b>anytone.py</b> driver currently claims to support 4 radios
(the 3 above, plus the <b>PowerWerx DB-750X</b>, which is what I
have). I have found a half dozen discrepancies between my actual
images and what the driver specifies -- differences in locations
and/or field sizes within the image map. For the moment, I copied
anytone.py as powerwerx_db750x.py and made the necessary changes.
I also <b>added bank support</b> <b>plus a number of settings
options </b>(programming lockout, RBG colors, etc.) while I was
at it. That is all working for me. My question is, how I should
proceed to commit my work? I see a number of options, here:<br>
<br>
1. Add my powerwerx_db750x.py to the drivers and remove the
DB-750X registration from anytone.py. I'd include copious comments
in both files pointing to each other.<br>
<br>
2. Merge my changes back into anytone.py, and work out the logic
to make my changes conditional between the models.<br>
<br>
3. Do #1 first, but plan on getting to #2 soon.<br>
<br>
Since I don't have access to the 3 other radios, <b>I can't
personally test that my changes are benign </b>for them. So,
adding powerwerx_db750x.py as a separate driver is the safest
route. But that would unnecessarily duplicate 700 lines of code.
Also, it would be a shame if the new features I added (banks,
settings) would be useful for those other models but only appeared
in the DB-750X driver.<br>
<br>
Please advise.<br>
<br>
P.S. I'm curious. Does Chirp send back usage telemetry? Do we know
if anyone is even using Chirp with those other radio models
anymore?<br>
<br>
NOTE: The biggest discrepancy, BTW, is that the flags map changed
from 4 bits per channel to 8, to accommodate a bank assignment
0-10 (A-J). <br>
</p>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /><table style="border-top: 1px solid #D3D4DE;"><tr><td style="width: 55px; padding-top: 13px;"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"/></a></td><td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free.<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avg.com</a></td></tr></table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>