<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,
<div>
<div>&nbsp;</div>

<div>thanks for your hints - in the attached version of btech.py, I tried to implement them.</div>

<div>I it&#39;s OK from your point of view, I will soft-commit a patch for it (and afterwards try to do the same for the baofeng-common-driver).</div>

<div>&nbsp;</div>
BTW: Should I open a separate issue for each affected driver?

<div>&nbsp;</div>

<div>73,</div>

<div>Michael</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div name="quoted-content">&gt; Hmm, yeah, I think that&#39;s a bug, and probably pretty confusing to users.<br/>
&gt; However, I expect the intent there was to initialize the settings if you<br/>
&gt; were opening that memory for the first time. So, probably what should<br/>
&gt; happen is:<br/>
&gt;<br/>
&gt; if extra:<br/>
&gt; set_extra()<br/>
&gt; elif not mem.empty and (mem was empty):<br/>
&gt; initialize_extra()<br/>
&gt;<br/>
&gt; That last &quot;was empty&quot; part would require looking at the current memory<br/>
&gt; map to see if it looks like a deleted memory.<br/>
&gt;<br/>
&gt; Jim, does that make sense?<br/>
&gt;<br/>
&gt; Michael, are you offering to fix up the drivers that behave this way?<br/>
&gt;<br/>
&gt; Thanks!<br/>
&gt;<br/>
&gt; --Dan<br/>
<br/>
Dan,<br/>
<br/>
I&#39;m not 100% certain, but I think this is something that I got from<br/>
Pavel. It didn&#39;t seem to be working as expected for my recent driver<br/>
work so my &quot;fix&quot; was to leave it out.<br/>
<br/>
What you propose makes sense.<br/>
<br/>
Jim</div>
</div>
</div>
</div></div></body></html>