diff --git a/src/utils/BusMaster.hxx b/src/utils/BusMaster.hxx index 96b59617f..48ea3fc41 100644 --- a/src/utils/BusMaster.hxx +++ b/src/utils/BusMaster.hxx @@ -96,6 +96,7 @@ public: { } +#ifdef GTEST /// Used in unittests to cleanly shutdown the bus master. void request_shutdown() { @@ -111,7 +112,8 @@ public: usleep(200); } } - +#endif + /// Sets the scheduling policy. This must be called exactly once after /// construction before scheduling any bus activity. void set_policy(unsigned num_prio, const Fixed16 *strides)