fix: remove duplicated field for PsbQaqcResult

This commit is contained in:
Wataru Otsubo 2024-07-21 22:13:56 +09:00
parent e455c774ac
commit 832dea37b0

View file

@ -405,10 +405,9 @@ pub struct PsbQaqcResult {
power: u8,
clock: u8,
asdtp: u8,
reset: u16,
pll_lock_reset: u16,
qaqc_result: u32,
lvds_tx_skew: Option<u32>,
ppl_lock_reset_count: Option<i32>,
timestamp: DateTime<Utc>,
qaqc_log_file: String,
shiftscript_ver: Version,
@ -434,10 +433,9 @@ impl PsbQaqcResult {
power: boardresult.power,
clock: boardresult.clock,
asdtp: boardresult.asdtp,
reset: boardresult.reset,
pll_lock_reset: boardresult.reset,
qaqc_result: boardresult.result.into(),
lvds_tx_skew: None,
ppl_lock_reset_count: None,
timestamp: result.datetime,
qaqc_log_file: result.filename.clone(),
shiftscript_ver: result.version.clone(),