mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 14:58:35 +03:00
Phone hack: endless loop
Motorola seems to be in an endless loop? In any case, it only shows the motorola logo and does not react to pressing the power button.
This commit is contained in:
@@ -76,7 +76,7 @@ void Timer_Init()
|
||||
PMC_EnablePeripheral(ID_TC0);
|
||||
|
||||
/** Configure TC for a $ARG1 Hz frequency and trigger on RC compare. */
|
||||
TC_FindMckDivisor( 20, BOARD_MCK, &div, &tcclks, BOARD_MCK );
|
||||
TC_FindMckDivisor( 8, BOARD_MCK, &div, &tcclks, BOARD_MCK );
|
||||
TRACE_INFO("Chosen div, tcclk: %d, %d", div, tcclks);
|
||||
/* TC_CMR: TC Channel Mode Register: Capture Mode */
|
||||
/* CPCTRG: RC Compare resets the counter and starts the counter clock. */
|
||||
|
||||
Reference in New Issue
Block a user