[update] DC bias Set Nzero = 30

This commit is contained in:
ROY
2023-03-09 12:52:30 +08:00
parent b45c6a7fa6
commit ed9010368f
2 changed files with 3 additions and 3 deletions
@@ -72,7 +72,7 @@ static void HSDAC_outputV(int32_t voltLVraw)
uint32_t DACOutCode;
int64_t value = ((int64_t)voltLVraw * CaliTable.DAC_offset_a + CaliTable.DAC_offset_b) / 1e8;
n_zero = 31;
n_zero = 30;
n_bias = (uint16_t)value;
if(n_bias > 4095) n_bias = 4095;
@@ -5,8 +5,8 @@
#define VERSION_DATE_YEAR 23
#define VERSION_DATE_MONTH 3
#define VERSION_DATE_DAY 9
#define VERSION_DATE_HOUR 11
#define VERSION_DATE_MINUTE 9
#define VERSION_DATE_HOUR 12
#define VERSION_DATE_MINUTE 52
// this is NOT the version hash !!
// it's the last version hash