From 7fde24bbdc2208dca6c2436f62ee1cb5eb9eb7b0 Mon Sep 17 00:00:00 2001
From: Janis Streib <me@janis-streib.de>
Date: Fr., 19 Mai 2023 17:25:10 +0200
Subject: [PATCH] ADD: digio support

---
 src/G4Hub.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/G4Hub.h b/src/G4Hub.h
index aef97f6..207b6f9 100644
--- a/src/G4Hub.h
+++ b/src/G4Hub.h
@@ -20,6 +20,8 @@
 	int GetId();
 	void SetPnoData(float* pno,int sen);
 	float (*GetPnoData())[6];
+	void SetDigIOData(uint32_t pno);
+	uint32_t GetDigIOData();
 	bool IsSenActive(int i);
 	CG4Hub();
 	virtual ~CG4Hub();
@@ -30,6 +32,7 @@
 	float m_col[3][3];
 	int m_id;
 	float m_pno[G4_SENSORS_PER_HUB][6];
+	uint32_t digio;
 };
 
 #endif // !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)

--
Gitblit v1.9.1