From 93ac1b6d611f3dd8e422e29d84e06e988c92485a Mon Sep 17 00:00:00 2001 From: peteGSX <97784652+peteGSX@users.noreply.github.com> Date: Thu, 9 Feb 2023 12:45:34 +1000 Subject: [PATCH] Revert IODevice.h change --- IODevice.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IODevice.h b/IODevice.h index e7906c6..72beb9e 100644 --- a/IODevice.h +++ b/IODevice.h @@ -242,12 +242,11 @@ protected: // Current state of device DeviceStateEnum _deviceState = DEVSTATE_DORMANT; - // Method to find device handling Vpin - static IODevice *findDevice(VPIN vpin); - private: // Method to check whether the vpin corresponds to this device bool owns(VPIN vpin); + // Method to find device handling Vpin + static IODevice *findDevice(VPIN vpin); IODevice *_nextDevice = 0; unsigned long _nextEntryTime; static IODevice *_firstDevice;