mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 19:56:40 +00:00
Sync with Sharebrained's fw, only Xylos TX works for now
This commit is contained in:
@@ -106,7 +106,7 @@ 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. */
|
||||
direction = new_direction;
|
||||
|
||||
|
||||
second_if.set_mode((direction == rf::Direction::Transmit) ? max2837::Mode::Transmit : max2837::Mode::Receive);
|
||||
rf_path.set_direction(direction);
|
||||
|
||||
|
Reference in New Issue
Block a user