aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2014-09-16 15:46:49 -0700
committerAndrew Duggan <aduggan@synaptics.com>2014-09-16 15:46:49 -0700
commitd8f0896e72f336f81bf507e5344631177309ea3c (patch)
treef1d3581463b6567349c6b96093b765714c14ff0c
parentc14ec9ced73a2f5d243c010c9fc45cb5e4956a3a (diff)
downloadplatform_external_rmi4utils-d8f0896e72f336f81bf507e5344631177309ea3c.tar.gz
platform_external_rmi4utils-d8f0896e72f336f81bf507e5344631177309ea3c.tar.bz2
platform_external_rmi4utils-d8f0896e72f336f81bf507e5344631177309ea3c.zip
Set the page before querying properties
-rw-r--r--rmidevice/rmidevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rmidevice/rmidevice.cpp b/rmidevice/rmidevice.cpp
index 8e0b25e..57528be 100644
--- a/rmidevice/rmidevice.cpp
+++ b/rmidevice/rmidevice.cpp
@@ -80,6 +80,8 @@ int RMIDevice::QueryBasicProperties()
unsigned short prodInfoAddr;
RMIFunction f01;
+ SetRMIPage(0x00);
+
if (GetFunction(f01, 1)) {
queryAddr = f01.GetQueryBase();