|
@ -62,15 +62,16 @@ void OpticalModuleV2::initialize(int32_t moduleid, hardware_config_t* hardwarecf |
|
|
m_t_amp_sw_io.setState(true); |
|
|
m_t_amp_sw_io.setState(true); |
|
|
m_f_amp_sw_io.setState(true); |
|
|
m_f_amp_sw_io.setState(true); |
|
|
|
|
|
|
|
|
m_reg.t_pos_offset = 3657; |
|
|
|
|
|
m_reg.f_pos_offset = 2512; |
|
|
|
|
|
m_reg.t_reverse_scan_pos_offset = 3657 - 1200; |
|
|
|
|
|
m_reg.f_reverse_scan_pos_offset = 1312; |
|
|
|
|
|
|
|
|
m_reg.t_pos_offset = 3723; |
|
|
|
|
|
m_reg.f_pos_offset = 2559; |
|
|
|
|
|
m_reg.t_reverse_scan_pos_offset = 3723 - 1200; |
|
|
|
|
|
m_reg.f_reverse_scan_pos_offset = 2559 - 1200; |
|
|
|
|
|
|
|
|
m_reg.scan_step_interval = 1; |
|
|
m_reg.scan_step_interval = 1; |
|
|
m_reg.scan_pointnum = 1200; |
|
|
m_reg.scan_pointnum = 1200; |
|
|
|
|
|
|
|
|
ZLOGI(TAG, "-----------------module info--------------") ZLOGI(TAG, "f_detector max gain : %f", f_detector_raw_gain_to_gain(255)); |
|
|
|
|
|
|
|
|
ZLOGI(TAG, "-----------------module info--------------"); |
|
|
|
|
|
ZLOGI(TAG, "f_detector max gain : %f", f_detector_raw_gain_to_gain(255)); |
|
|
ZLOGI(TAG, "f_detector min gain : %f", f_detector_raw_gain_to_gain(1)); |
|
|
ZLOGI(TAG, "f_detector min gain : %f", f_detector_raw_gain_to_gain(1)); |
|
|
ZLOGI(TAG, "t_detector max gain : %f", t_detector_raw_gain_to_gain(255)); |
|
|
ZLOGI(TAG, "t_detector max gain : %f", t_detector_raw_gain_to_gain(255)); |
|
|
ZLOGI(TAG, "t_detector min gain : %f", t_detector_raw_gain_to_gain(1)); |
|
|
ZLOGI(TAG, "t_detector min gain : %f", t_detector_raw_gain_to_gain(1)); |
|
|