-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tdh8, tdh3: Further revise the AM handling
These radios (annoyingly) treat frequencies in airband as AM, which really isn't how chirp was designed to work. Before, we were making them immutable, but that brings all sorts of problems with it. Instead, coerce the values on get/set, and return a warning from validate_memory() so the user is warned. In reality, we should probably be doing that more places where we have immutable fields, where the immutable-ness depends on the content of the memory (i.e the frequency) than the location. Fixes: #11441
- Loading branch information
Showing
3 changed files
with
32 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters