diff --git a/libopencm3 b/libopencm3 index ea6a5a7..72274d3 160000 --- a/libopencm3 +++ b/libopencm3 @@ -1 +1 @@ -Subproject commit ea6a5a7efd5e83b6a7e2b55506acbc863a6d0c34 +Subproject commit 72274d3caf09a5b4a6646e65bf376c91b8fa2ef1 diff --git a/src/i2c-explorer/i2c-explorer.c b/src/i2c-explorer/i2c-explorer.c index 4d34626..8c7d069 100644 --- a/src/i2c-explorer/i2c-explorer.c +++ b/src/i2c-explorer/i2c-explorer.c @@ -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(); diff --git a/src/i2c-stm32f4-usb/i2c-stm32f4-usb.c b/src/i2c-stm32f4-usb/i2c-stm32f4-usb.c index f8da51e..bd6b796 100644 --- a/src/i2c-stm32f4-usb/i2c-stm32f4-usb.c +++ b/src/i2c-stm32f4-usb/i2c-stm32f4-usb.c @@ -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);