Commit 79f921c9 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrc_main: updated default calibration parameters when SFP database is not in EEPROM

parent 09634e00
...@@ -24,12 +24,12 @@ int wrc_ui_mode = UI_SHELL_MODE; ...@@ -24,12 +24,12 @@ int wrc_ui_mode = UI_SHELL_MODE;
/////////////////////////////////// ///////////////////////////////////
//Calibration data (from EEPROM if available) //Calibration data (from EEPROM if available)
#ifdef WRPC_MASTER #ifdef WRPC_MASTER
int32_t sfp_alpha = -73622176; //default value if could not read EEPROM
#else
int32_t sfp_alpha = 73622176; //default value if could not read EEPROM int32_t sfp_alpha = 73622176; //default value if could not read EEPROM
#else
int32_t sfp_alpha = -73622176; //default value if could not read EEPROM
#endif #endif
int32_t sfp_deltaTx = 0; int32_t sfp_deltaTx = 46407; //default value if could not read EEPROM
int32_t sfp_deltaRx = 0; int32_t sfp_deltaRx = 189093; //default value if could not read EEPROM
uint32_t cal_phase_transition = 2394; //7000; uint32_t cal_phase_transition = 2394; //7000;
void wrc_initialize() void wrc_initialize()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment