mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-24 14:50:43 -04:00
Added bias-T status icon
Merged radio settings in one screen
This commit is contained in:
parent
8b9ecda1a0
commit
3193c6ee99
152 changed files with 487 additions and 803 deletions
|
@ -108,6 +108,9 @@ void set_direction(const rf::Direction new_direction) {
|
|||
/* TODO: Refactor all the various "Direction" enumerations into one. */
|
||||
/* TODO: Only make changes if direction changes, but beware of clock enabling. */
|
||||
|
||||
// Hack to fix the CPLD (clocking ?) bug: toggle CPLD SRAM overlay depending on new direction
|
||||
// Use CPLD's EEPROM config when transmitting
|
||||
// Use the SRAM overlay when receiving
|
||||
if (direction != new_direction) {
|
||||
if (new_direction == rf::Direction::Transmit) {
|
||||
hackrf::cpld::init_from_eeprom();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue