[chronojump] SerialPort ArduinoComms.ArduinoPort as protected
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] SerialPort ArduinoComms.ArduinoPort as protected
- Date: Thu, 28 Apr 2022 09:19:50 +0000 (UTC)
commit 8b14860d4ec61b472403880a57c43a3c0f86a7ec
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 28 11:19:13 2022 +0200
SerialPort ArduinoComms.ArduinoPort as protected
src/execute/arduinoCapture.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/execute/arduinoCapture.cs b/src/execute/arduinoCapture.cs
index 67a87ae06..45a835582 100644
--- a/src/execute/arduinoCapture.cs
+++ b/src/execute/arduinoCapture.cs
@@ -27,9 +27,9 @@ using System.Threading;
//ArduinoCommunications
public abstract class ArduinoComms
{
- public static SerialPort ArduinoPort; //on Windows we cannot pass the SerialPort to another class, so
use this.
public static bool PortOpened;
+ protected static SerialPort ArduinoPort; //on Windows we cannot pass the SerialPort to another class,
so use this.
protected string portName;
protected int bauds;
// protected SerialPort port;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]