Fixup another level of compiler warnings, add _U() definition
This commit is contained in:
@ -39,7 +39,7 @@ typedef pll_hw_t *PLL;
|
||||
* \param post_div1 Post Divider 1 - range 1-7. Must be >= post_div2
|
||||
* \param post_div2 Post Divider 2 - range 1-7
|
||||
*/
|
||||
void pll_init(PLL pll, uint32_t ref_div, uint32_t vco_freq, uint32_t post_div1, uint8_t post_div2);
|
||||
void pll_init(PLL pll, uint ref_div, uint vco_freq, uint post_div1, uint post_div2);
|
||||
|
||||
/*! \brief Release/uninitialise specified PLL.
|
||||
* \ingroup hardware_pll
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "hardware/pll.h"
|
||||
|
||||
/// \tag::pll_init_calculations[]
|
||||
void pll_init(PLL pll, uint32_t refdiv, uint32_t vco_freq, uint32_t post_div1, uint8_t post_div2) {
|
||||
void pll_init(PLL pll, uint refdiv, uint vco_freq, uint post_div1, uint post_div2) {
|
||||
// Turn off PLL in case it is already running
|
||||
pll->pwr = 0xffffffff;
|
||||
pll->fbdiv_int = 0;
|
||||
|
Reference in New Issue
Block a user