From 8c6251b520be7c703ea2df223ad8c166c971eb68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Wed, 13 Jul 2016 18:33:18 +0200 Subject: Consider freewheeling of engines in drumgizmo and dgreftest. --- drumgizmo/drumgizmoc.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drumgizmo') diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc index 1ba9516..48a17fd 100644 --- a/drumgizmo/drumgizmoc.cc +++ b/drumgizmo/drumgizmoc.cc @@ -408,6 +408,15 @@ int main(int argc, char* argv[]) { break; } + + if(ie->isFreewheeling() && oe->isFreewheeling()) + { + gizmo.setFreeWheel(true); + } + else + { + gizmo.setFreeWheel(false); + } } ie->stop(); -- cgit v1.2.3