19 Jun
2023
19 Jun
'23
3:08 p.m.
What’s the best way to convince a driver to read and write from an SD card, while not breaking the existing read/write to .img and radio-specific files?
As you note, I already added support for the ADMS file formats. Just add another item to register for another extension/format here:
https://github.com/kk7ds/chirp/blob/master/chirp/drivers/ft1d.py#L716
and add another handler here:
https://github.com/kk7ds/chirp/blob/master/chirp/drivers/ft1d.py#L2572
for the other file format. Just like the ADMS support in save_mmap() if you do it yourself (and don't call super().save_mmap()) then you won't get the rest of the chirp image metadata at the end.
--Dan