Original code used the special macros for rcc_periph_clock_enable instead of the appropraite APB1ENR bit definition. Switch to the correct, simpler form, using the correct parameter.
Original code used the special macros for rcc_periph_clock_enable instead of the appropraite APB1ENR bit definition. Switch to the correct, simpler form, using the correct parameter.