File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public ConfigurePortController()
2222 "Consult the device datasheet and documentation for allowable voltage ranges." ) ]
2323 [ Category ( ConfigurationCategory ) ]
2424 [ TypeConverter ( typeof ( PortVoltageConverter ) ) ]
25- public AutoPortVoltage PortVoltage { get ; set ; } = null ;
25+ public AutoPortVoltage PortVoltage { get ; set ; } = new ( ) ;
2626
2727 protected virtual bool CheckLinkState ( DeviceContext device )
2828 {
@@ -62,7 +62,6 @@ public override IObservable<ContextTask> Process(IObservable<ContextTask> source
6262 void dispose ( ) { device . WriteRegister ( PortController . PORTVOLTAGE , 0 ) ; PortVoltage . Applied = null ; }
6363 device . WriteRegister ( PortController . ENABLE , 1 ) ;
6464
65- //double voltage = portVoltage.Requested.GetValueOrDefault();
6665 bool serdesLock = false ;
6766 if ( portVoltage . Requested . HasValue )
6867 {
You can’t perform that action at this time.
0 commit comments