mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-17 03:53:02 +00:00
Antenna Calculator: fix out-of-range handling + add Comet W100RX (#3321)
* Antenna Calculator: handle out-of-range frequencies Fix an out-of-bounds read in update_result(): when the required quarter-wave length was shorter than the fully-collapsed antenna, the element interpolation indexed elements[-1]. Guard the frequency range and report 'retracted' (above the fundamental range; a wideband RX whip still receives here via harmonics) or 'fully ext.' (below range) instead of a garbage element count. * Add Comet W100RX to the sample WHIPCALC/ANTENNAS.TXT Comet W100RX telescopic RX whip, segment lengths (mm) from the Comet W100RX instruction sheet: 200/300/400/510/615/800/986.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#antenna label,elements length in mm, separated by a commas
|
||||
ANT700,95,134,175,206,230,245
|
||||
ANT500,185,315,450,586,724,862
|
||||
Cheap 11cm,118,183,253,326,399,476
|
||||
Cheap 11cm,118,183,253,326,399,476
|
||||
Comet W100RX,200,300,400,510,615,800,986
|
||||
|
||||
Reference in New Issue
Block a user