<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,
<div>
<div> </div>
<div>thanks for your hints - in the attached version of btech.py, I tried to implement them.</div>
<div>I it'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> </div>
BTW: Should I open a separate issue for each affected driver?
<div> </div>
<div>73,</div>
<div>Michael</div>
<div> </div>
<div> </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">> Hmm, yeah, I think that's a bug, and probably pretty confusing to users.<br/>
> However, I expect the intent there was to initialize the settings if you<br/>
> were opening that memory for the first time. So, probably what should<br/>
> happen is:<br/>
><br/>
> if extra:<br/>
> set_extra()<br/>
> elif not mem.empty and (mem was empty):<br/>
> initialize_extra()<br/>
><br/>
> That last "was empty" part would require looking at the current memory<br/>
> map to see if it looks like a deleted memory.<br/>
><br/>
> Jim, does that make sense?<br/>
><br/>
> Michael, are you offering to fix up the drivers that behave this way?<br/>
><br/>
> Thanks!<br/>
><br/>
> --Dan<br/>
<br/>
Dan,<br/>
<br/>
I'm not 100% certain, but I think this is something that I got from<br/>
Pavel. It didn't seem to be working as expected for my recent driver<br/>
work so my "fix" was to leave it out.<br/>
<br/>
What you propose makes sense.<br/>
<br/>
Jim</div>
</div>
</div>
</div></div></body></html>