summaryrefslogtreecommitdiffstats
path: root/firmware/fx2
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/fx2')
-rw-r--r--firmware/fx2/b100/usrp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/fx2/b100/usrp_main.c b/firmware/fx2/b100/usrp_main.c
index 7c4dd479d..74427b7d2 100644
--- a/firmware/fx2/b100/usrp_main.c
+++ b/firmware/fx2/b100/usrp_main.c
@@ -87,9 +87,9 @@ static void clear_fifo(int ep) {
void enable_xfers(int enable) {
if(enable) {
- IFCONFIG |= bmIFSLAVE;
+ IFCONFIG = bmIFCLKSRC | bm3048MHZ | bmIFCLKOE | bmIFSLAVE;
} else {
- IFCONFIG &= ~bmIFSLAVE;
+ IFCONFIG = bmIFCLKSRC | bm3048MHZ | bmIFSLAVE;
}
set_led_0(enable);
}