From 3e9bb9fa00589c05973a6f144925153be9ef0bb7 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Thu, 15 Aug 2019 15:36:24 +0200 Subject: [PATCH] samples: Fix WatchdogWakeUp usage for non-Windows platforms. --- samples/driver_sample/driver_sample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/driver_sample/driver_sample.cpp b/samples/driver_sample/driver_sample.cpp index 4f03534c..9ad69900 100644 --- a/samples/driver_sample/driver_sample.cpp +++ b/samples/driver_sample/driver_sample.cpp @@ -103,7 +103,7 @@ void WatchdogThreadFunction( ) #else // for the other platforms, just send one every five seconds std::this_thread::sleep_for( std::chrono::seconds( 5 ) ); - vr::VRWatchdogHost()->WatchdogWakeUp(); + vr::VRWatchdogHost()->WatchdogWakeUp( vr::TrackedDeviceClass_HMD ); #endif } }