summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-07-13 18:33:18 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-07-13 18:33:18 +0200
commit8c6251b520be7c703ea2df223ad8c166c971eb68 (patch)
tree64c0e83cf92ee2f2d2462d03613caa31031a3c48 /drumgizmo/drumgizmoc.cc
parenteb3a5e8834c1af80fc5196e5c8f5788e8a2b2167 (diff)
Consider freewheeling of engines in drumgizmo and dgreftest.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc9
1 files changed, 9 insertions, 0 deletions
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();