From d0e1be11b6a0c6a4cb0209723e9cf32fa802228f Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 5 Apr 2023 14:07:18 +0200 Subject: [PATCH] Added helper getSerialPort() --- include/prot.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/prot.h b/include/prot.h index aefc25e..93304c0 100644 --- a/include/prot.h +++ b/include/prot.h @@ -93,6 +93,9 @@ private slots: void analyseRecData(void); public: + T_com *getSerialPort() { return mySerialPort; } + T_com const *getSerialPort() const { return mySerialPort; } + T_prot(); bool isPortOpen(void); bool isSerialFree(void);