1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 00:58:37 +00:00

HapticFeedback: fix recovery from the long sleep (minor comment changes)

This commit is contained in:
bobrosoft 2019-07-17 12:21:51 +04:00
parent 7b853b5d47
commit efc52293a8

View File

@ -22,7 +22,7 @@ class HapticFeedback {
]
init() {
// Let's find and init Haptic device
// Let's find our Haptic device
possibleDeviceIDs.forEach {(deviceID) in
guard correctDeviceId == nil else {return}
let actuatorRef: CFTypeRef? = MTActuatorCreateFromDeviceID(deviceID).takeRetainedValue()