[chronojump/FS-TFT-Menu] SerialPort ArduinoComms.ArduinoPort as protected



commit 1442dbb038d9410bd3abeb6ba64d5b389e93bb5c
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]