Skip to content

Commit

Permalink
Avoid reference to obsolete operator
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Sep 27, 2023
1 parent 255ed71 commit fd53491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aeon.Environment/RoomLightController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Xml;
using System.Xml.Serialization;
using Bonsai;
using Bonsai.IO;
using Bonsai.IO.Ports;

namespace Aeon.Environment
{
Expand All @@ -17,7 +17,7 @@ namespace Aeon.Environment
[Description("Creates and configures a connection to the room light controller over Brainboxes Ethernet to Serial.")]
public class RoomLightController
{
readonly CreateSerialPort serialPort = new CreateSerialPort();
readonly CreateSerialPort serialPort = new();

[TypeConverter(typeof(SerialPortNameConverter))]
[Description("The name of the room light controller serial port.")]
Expand Down

0 comments on commit fd53491

Please sign in to comment.