add ref. crystal trimming.

This commit is contained in:
Mariano Alvira 2010-03-01 13:01:51 -05:00
parent 78be082b3c
commit eb94e7daaf
6 changed files with 55 additions and 4 deletions

View file

@ -52,6 +52,9 @@ void main(void) {
vreg_init();
init_phy();
/* trim the reference osc. to 24MHz */
pack_XTAL_CNTL(CTUNE_4PF, CTUNE, FTUNE, IBIAS);
set_power(0x0f); /* 0dbm */
set_channel(0); /* channel 11 */