diff --git a/Apex7000_BillValidator/RS232Config.cs b/Apex7000_BillValidator/RS232Config.cs index f6b5bab..a1ccc3c 100644 --- a/Apex7000_BillValidator/RS232Config.cs +++ b/Apex7000_BillValidator/RS232Config.cs @@ -22,10 +22,8 @@ public class RS232Config /// /// /// String port name e.g. COM4 - public RS232Config(string commPort) - { - new RS232Config(commPort.ToString(), false); - } + public RS232Config(string commPort) : this(commPort.ToString(), false) + { } /// /// Create a new configuration to use for the Apex7000 validator class.