Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

uart::get<N> should return result<uart> #103

Open
kammce opened this issue Nov 23, 2022 · 0 comments
Open

uart::get<N> should return result<uart> #103

kammce opened this issue Nov 23, 2022 · 0 comments
Labels
💳 technical debt Shortcuts taken before that must be fixed later

Comments

@kammce
Copy link
Collaborator

kammce commented Nov 23, 2022

Currently the constructor for uart::get<N> performs the configuration task, which can fail. Because we cannot throw, we have to ignore the result. This work should be done in the get factory function.

@kammce kammce added the 💳 technical debt Shortcuts taken before that must be fixed later label Nov 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💳 technical debt Shortcuts taken before that must be fixed later
Projects
None yet
Development

No branches or pull requests

1 participant