Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

conn: deprecate Halt() #377

Closed
maruel opened this issue Jan 14, 2019 · 2 comments
Closed

conn: deprecate Halt() #377

maruel opened this issue Jan 14, 2019 · 2 comments
Milestone

Comments

@maruel
Copy link
Contributor

maruel commented Jan 14, 2019

Move the blocking operation context from the driver to the individual function call.

See https://docs.google.com/document/d/1vQdZdoOMaIan7dKwcAzqHbfM_LCnnSMUQvqypRkjohM for more information.

As such, Halt() will not be needed anymore.

@maruel maruel added this to the v4 milestone Jan 14, 2019
@maruel
Copy link
Contributor Author

maruel commented Jan 14, 2019

This is a big deal, but the rationale is that it will tremendously simplify the device drivers. Most people get this wrong, and it had been a point of friction for contributors and obscure for users.

@maruel
Copy link
Contributor Author

maruel commented Sep 18, 2023

Ported to periph/conn#29.

@maruel maruel closed this as completed Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant