projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 firmware: fix clock_set parameter mixup
[carl9170fw.git]
/
carlfw
/
src
/
rf.c
diff --git
a/carlfw/src/rf.c
b/carlfw/src/rf.c
index 10220481d3e8514e04c1ab1010dd73a81ae87538..ae9fd5464e4fcb6f59150c1f34e22dda95e30b4d 100644
(file)
--- a/
carlfw/src/rf.c
+++ b/
carlfw/src/rf.c
@@
-243,7
+243,7
@@
void rf_psm(void)
/* Synthesizer off + RX off */
bank3 = 0x00400018;
/* Synthesizer off + RX off */
bank3 = 0x00400018;
- clock_set(
true, AHB_20_22MHZ
);
+ clock_set(
AHB_20_22MHZ, false
);
} else {
/* advance to the next PSM step */
fw.phy.psm.state--;
} else {
/* advance to the next PSM step */
fw.phy.psm.state--;
@@
-261,9
+261,9
@@
void rf_psm(void)
bank3 = 0x01420098;
if ((fw.phy.ht_settings & EIGHTY_FLAG) == EIGHTY_FLAG)
bank3 = 0x01420098;
if ((fw.phy.ht_settings & EIGHTY_FLAG) == EIGHTY_FLAG)
- clock_set(
true, AHB_80_88MHZ
);
+ clock_set(
AHB_80_88MHZ, true
);
else
else
- clock_set(
true, AHB_40_44MHZ
);
+ clock_set(
AHB_40_44MHZ, true
);
} else {
return ;
}
} else {
return ;
}