[update] fix freq for eis mode
This commit is contained in:
+2
-2
@@ -166,13 +166,13 @@ static uint32_t CalcDelayTime(uint32_t freq){
|
||||
|
||||
static uint32_t User2Freq(uint32_t UserCode){
|
||||
uint32_t freq;
|
||||
freq = (UserCode * 149 + 50)/ 100;
|
||||
freq = UserCode * 15 / 10;
|
||||
return freq; //[100mHz]
|
||||
}
|
||||
|
||||
static uint32_t Freq2DAC(uint32_t freq){
|
||||
uint32_t code;
|
||||
code = (freq * 100 + 75) / 149;
|
||||
code = freq * 10 / 15;
|
||||
return code; //return code
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
#define VERSION_DATE_YEAR 22
|
||||
#define VERSION_DATE_MONTH 11
|
||||
#define VERSION_DATE_DAY 4
|
||||
#define VERSION_DATE_HOUR 10
|
||||
#define VERSION_DATE_MINUTE 35
|
||||
#define VERSION_DATE_HOUR 17
|
||||
#define VERSION_DATE_MINUTE 30
|
||||
|
||||
// this is NOT the version hash !!
|
||||
// it's the last version hash
|
||||
|
||||
Reference in New Issue
Block a user