<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Try setting features-<br>
    rf.has_nostep_tuning = True<br>
    and to disable the tuning step column in the UI-<br>
    rf.has_tuning_step = False
    <div class="moz-signature"><br>
      <img src="cid:part1.4F4ABB0B.8A777AC3@yahoo.com" border="0"></div>
    <div class="moz-cite-prefix">On 12/20/2020 2:07 PM, Jim Unroe via
      chirp_devel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADnO8U5rhtrbp3OPKL_uCfZi28iaVvzsgdn8yrW_mDdSVe7Etw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">On Wed, Dec 2, 2020 at 5:56 PM Brad &amp; Cindy Schuler via chirp_devel
<a class="moz-txt-link-rfc2396E" href="mailto:chirp_devel@intrepid.danplanet.com">&lt;chirp_devel@intrepid.danplanet.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
Is there a convention for how a driver should handle frequencies that are not tunable due to tuning step capabilities?



For instance, the radio cannot tune 450.611 so the radio refuses user entry (onboard keypad), but when 450.612 is entered the radio automatically adds 500 Hz to make 450.6125.



In what functions of the software might the driver raise an exception and where might it auto-adjust a given frequency to fit an available tuning step?



Thanks for the guidance,

Brad Schuler

K0BAS
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

Brad,

After seeing Dan's reply, this reminded me that I just did this same
thing for the anytone.py driver. The frequency 450.6125 is stored in
the radio as 450.612 but the radio knows to tune the correct
frequency. Here is how I coded CHIRP to know how to show the full
frequency.

<a class="moz-txt-link-freetext" href="https://chirp.danplanet.com/projects/chirp/repository/revisions/3d796d647766/diff/chirp/drivers/anytone.py">https://chirp.danplanet.com/projects/chirp/repository/revisions/3d796d647766/diff/chirp/drivers/anytone.py</a>

Jim KC9HI
_______________________________________________
chirp_devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a>
<a class="moz-txt-link-freetext" href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a>
Developer docs: <a class="moz-txt-link-freetext" href="http://chirp.danplanet.com/projects/chirp/wiki/Developers">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>