Fix(aircopy): include VFO area in Settings map so scan-range source frequencies are replicated

This commit is contained in:
Armel FAUVEAU committed 2026-05-06 01:47:37 +02:00
1 parent f50a29ae08
commit 7d69b74b08
1 file changed
+4 -2
+4 -2
View File
@@ -90,12 +90,14 @@ DECLARE_AIRCOPY_BANK(1)
static const AIRCOPY_Segment_t AIRCOPY_Segments_Settings[] = {
{ 0xA000, 0xA170, AIRCOPY_WRITE_BYTES },
{ 0x880E, 0x886E, AIRCOPY_WRITE_BYTES },
{ 0x9000, 0x90D6, AIRCOPY_WRITE_BYTES }, // VFO area (so scan-range source frequencies are replicated)
};
// total_blocks = ceil(0x170/64) + ceil(0x60/64) + ceil(0xD6/64) = 6 + 2 + 4 = 12
static const AIRCOPY_TransferMap_t AIRCOPY_Map_Settings = {
.segments = AIRCOPY_Segments_Settings,
.num_segments = 2,
.total_blocks = 8
.num_segments = 3,
.total_blocks = 12
};
// Finally