summaryrefslogtreecommitdiffhomepage
path: root/src/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.go')
-rw-r--r--src/device.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.go b/src/device.go
index d32d648..1185d60 100644
--- a/src/device.go
+++ b/src/device.go
@@ -186,6 +186,6 @@ func (device *Device) Close() {
close(device.signal.stop)
}
-func (device *Device) Wait() {
- <-device.signal.stop
+func (device *Device) WaitChannel() chan struct{} {
+ return device.signal.stop
}