You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux, calling periph.WriteCharacteristic(characteristic, []byte{...}, true) after the connection to periph has been closed blocks indefinitely. This makes it impossible to guarantee we can let the goroutine calling WriteCharacteristic know when to stop calling it. Returning an error on write seems like better behavior.
The text was updated successfully, but these errors were encountered:
Happy new year!
On Linux, calling
periph.WriteCharacteristic(characteristic, []byte{...}, true)
after the connection toperiph
has been closed blocks indefinitely. This makes it impossible to guarantee we can let the goroutine callingWriteCharacteristic
know when to stop calling it. Returning an error on write seems like better behavior.The text was updated successfully, but these errors were encountered: