Skip to content

Commit

Permalink
api: adc: add link to tock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Aug 4, 2023
1 parent 8fbffb7 commit 3fac699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/adc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ impl<S: Syscalls> Adc<S> {
// current ADC driver in the kernel returns the number of ADC channels
// instead of just success. This will be fixed in a future release of Tock,
// but for now we workaround this issue.
//
// https://github.com/tock/tock/issues/3375
pub fn exists() -> Result<u32, ErrorCode> {
S::command(DRIVER_NUM, EXISTS, 0, 0).to_result()
}
Expand Down

0 comments on commit 3fac699

Please sign in to comment.