Skip to content

Commit

Permalink
Merge pull request #224 from schneider42/fix-hackrf-disabled-unused-c…
Browse files Browse the repository at this point in the history
…locks

fix(hackrf-core): Disable unused clock outputs
  • Loading branch information
dominicgs committed Jan 22, 2016
2 parents 0418d13 + 84d800e commit b278f05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion firmware/common/hackrf_core.c
Expand Up @@ -815,7 +815,11 @@ void pin_setup(void) {
scu_pinmux(SCU_PINMUX_LED3, SCU_GPIO_NOPULL);

scu_pinmux(SCU_PINMUX_EN1V8, SCU_GPIO_NOPULL);


/* Disable unused clock outputs. They generate noise. */
scu_pinmux(CLK0, SCU_CLK_IN | SCU_CONF_FUNCTION7);
scu_pinmux(CLK2, SCU_CLK_IN | SCU_CONF_FUNCTION7);

/* Configure USB indicators */
#if (defined JELLYBEAN || defined JAWBREAKER)
scu_pinmux(SCU_PINMUX_USB_LED0, SCU_CONF_FUNCTION3);
Expand Down

0 comments on commit b278f05

Please sign in to comment.