mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233: fix frequency reporting
The code reported the frequency in kHz instead of Hz, thus breaking a debug screen. Change-Id: Id46de970cfb55bcdc09b63f59b244ee3ad6264b8
This commit is contained in:
parent
643c0a1e0e
commit
a25700e4a0
2 changed files with 6 additions and 6 deletions
|
|
@ -195,7 +195,7 @@ void system_init(void)
|
|||
imx233_clkctrl_enable_auto_slow(false);
|
||||
imx233_clkctrl_set_auto_slow_div(BV_CLKCTRL_HBUS_SLOW_DIV__BY8);
|
||||
|
||||
cpu_frequency = imx233_clkctrl_get_freq(CLK_CPU);
|
||||
cpu_frequency = imx233_clkctrl_get_freq(CLK_CPU) * 1000; /* variable in Hz */
|
||||
|
||||
#if !defined(BOOTLOADER) && CONFIG_TUNER != 0
|
||||
fmradio_i2c_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue