aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/adc.rs
diff options
context:
space:
mode:
authorkalkyl <[email protected]>2024-06-22 16:39:23 +0200
committerkalkyl <[email protected]>2024-06-22 16:39:23 +0200
commite3891b09dc447f1e0df0cc286deecd0d36a3d7ba (patch)
treea30e82343481e3de2123d4a7db5f5bce9caebefa /embassy-rp/src/adc.rs
parentbf36bec9bb85caea613687ab9e0c1652f414b95c (diff)
Add comment about internal api
Diffstat (limited to 'embassy-rp/src/adc.rs')
-rw-r--r--embassy-rp/src/adc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-rp/src/adc.rs b/embassy-rp/src/adc.rs
index be453d08e..eb1cc9a66 100644
--- a/embassy-rp/src/adc.rs
+++ b/embassy-rp/src/adc.rs
@@ -219,6 +219,8 @@ impl<'d> Adc<'d, Async> {
219 } 219 }
220 } 220 }
221 221
222 // Note for refactoring: we don't require the actual Channels here, just the channel numbers.
223 // The public api is responsible for asserting ownership of the actual Channels.
222 async fn read_many_inner<W: dma::Word>( 224 async fn read_many_inner<W: dma::Word>(
223 &mut self, 225 &mut self,
224 channels: impl Iterator<Item = u8>, 226 channels: impl Iterator<Item = u8>,