Skip to content

Commit

Permalink
fix(io): husky warnings
Browse files Browse the repository at this point in the history
asvol committed Nov 27, 2024
1 parent 97d23bc commit 443f435
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Asv.IO/Streams/Ports/Serial/SerialPortConfig.cs
Original file line number Diff line number Diff line change
@@ -6,12 +6,19 @@ namespace Asv.IO
public class SerialPortConfig
{
public int DataBits { get; set; } = 8;

public int BoundRate { get; set; } = 115200;

public Parity Parity { get; set; } = Parity.None;

public StopBits StopBits { get; set; } = StopBits.One;

public string PortName { get; set; }

public int WriteTimeout { get; set; } = 200;

public int WriteBufferSize { get; set; } = 40960;


public static bool TryParseFromUri(Uri uri, out SerialPortConfig opt)
{

0 comments on commit 443f435

Please sign in to comment.