Skip to content

Commit

Permalink
cw_radar: PA5 was never used
Browse files Browse the repository at this point in the history
  • Loading branch information
dm5tt authored Jan 1, 2025
1 parent 3795b32 commit ec81d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Apps/cw_radar/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void setup_pins() {
/* PA10 -> USARTx_Rx */
gpio_init(GPIOA, GPIO_MODE_IN_FLOATING, GPIO_OSPEED_50MHZ, GPIO_PIN_10);

/* PA4, PA5 -> DAC Output */
/* PA4 -> DAC Output */
gpio_init(GPIOA, GPIO_MODE_AIN, GPIO_OSPEED_50MHZ, GPIO_PIN_4);
}

Expand Down Expand Up @@ -178,4 +178,4 @@ void setup_timer() {
TIMER_OC_SHADOW_DISABLE);

timer_auto_reload_shadow_enable(ADC_PWM_TMER);
}
}

0 comments on commit ec81d8a

Please sign in to comment.