diff options
Diffstat (limited to 'firmware/zpu/lib')
-rw-r--r-- | firmware/zpu/lib/u2_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/zpu/lib/u2_init.c b/firmware/zpu/lib/u2_init.c index 71bd2c594..db26be538 100644 --- a/firmware/zpu/lib/u2_init.c +++ b/firmware/zpu/lib/u2_init.c @@ -26,6 +26,9 @@ #include "clocks.h" #include "usrp2/fw_common.h" #include "nonstdio.h" +#ifdef USRP2P +#include "u2p_init.h" +#endif /* * We ought to arrange for this to be called before main, but for now, @@ -50,6 +53,10 @@ u2_init(void) i2c_init(); hal_enable_ints(); +#ifdef USRP2P + u2p_init(); +#endif + // flash all leds to let us know board is alive hal_set_led_src(0x0, 0x1f); /* software ctrl */ hal_set_leds(0x0, 0x1f); mdelay(300); |