Skip to content

Commit

Permalink
Merge pull request #259 from florisla/fix-f103t-compilation
Browse files Browse the repository at this point in the history
Fix F103T compilation error: remove const from adc_default_config
  • Loading branch information
rogerclarkmelbourne authored Mar 23, 2017
2 parents a8d1c1d + 9b759c8 commit e3753df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STM32F1/variants/generic_stm32f103t/wirish/boards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ nvic_init((uint32)VECT_TAB_ADDR, 0);
*/
}

static void adc_default_config(const adc_dev *dev) {
static void adc_default_config(adc_dev *dev) {
adc_enable_single_swstart(dev);
adc_set_sample_rate(dev, wirish::priv::w_adc_smp);
}
Expand Down

0 comments on commit e3753df

Please sign in to comment.