Skip to content

Commit

Permalink
Merge pull request #12 from UweBonnes/F4
Browse files Browse the repository at this point in the history
Update to recent libopencm3.
  • Loading branch information
daniel-thompson authored Feb 17, 2020
2 parents e4f961e + 08177db commit c90e6ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libopencm3
Submodule libopencm3 updated 676 files
2 changes: 1 addition & 1 deletion src/i2c-explorer/i2c-explorer.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static void i2c_init(void)

int main(void)
{
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_120MHZ]);
rcc_clock_setup_pll(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);

i2c_init();
time_init();
Expand Down
2 changes: 1 addition & 1 deletion src/i2c-stm32f4-usb/i2c-stm32f4-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ int main(void)
{
int i;

rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_120MHZ]);
rcc_clock_setup_pll(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);

rcc_periph_clock_enable(RCC_GPIOA);
rcc_periph_clock_enable(RCC_GPIOB);
Expand Down

0 comments on commit c90e6ec

Please sign in to comment.