Change the debug menu to show CPU frequency in MHz.
Change-Id: Ibda9ceecbdd3c5548ccf0467c77c3fb4d4412c70
This commit is contained in:
parent
5aa15c4e09
commit
09dc358bee
1 changed files with 2 additions and 1 deletions
|
@ -792,7 +792,8 @@ static bool dbg_cpufreq(void)
|
|||
{
|
||||
line = 0;
|
||||
|
||||
lcd_putsf(0, line++, "Frequency: %ld", FREQ);
|
||||
int temp = FREQ/1000000;
|
||||
lcd_putsf(0, line++, "Frequency: %ld.%ld MHz", temp, (FREQ-temp*1000000)/100000);
|
||||
lcd_putsf(0, line++, "boost_counter: %d", get_cpu_boost_counter());
|
||||
|
||||
lcd_update();
|
||||
|
|
Loading…
Reference in a new issue