Ticket #28 (defect)
Opened 2 years ago
Last modified 2 years ago
setclock()
Status: closed (fixed)
| Reported by: | Saky | Assigned to: | fraca7 |
|---|---|---|---|
| Priority: | minor | Component: | psp2d |
| Version: | Keywords: | ||
| Cc: |
Hi! :)
Trying to set clock and bus speed doesen't work.
setclock(266) getclock() --> returns always 222
Ciaoooo
Sakya
Change History
09/26/06 16:00:03: Modified by fraca7
- priority changed from trivial to minor.
- status changed from new to assigned.
09/26/06 17:01:01: Modified by Sakya
Hi. I solved this by adding
scePowerSetClockFrequency(333, 333, 166);
in the main function of the main.c source file. This way psp-python starts at 333, and then setclock works fine.
10/02/06 11:16:38: Modified by fraca7
- status changed from assigned to closed.
- resolution set to fixed.
Done, thanks.

You probably can't set the clock in a user thread. I'll make some experiments to confirm this.