Skip to content

Commit fdc34b6

Browse files
authored
Merge pull request #3245 from ohrlabs/saadc-channelconfig-docs
nrf, doc: Don't refer to `Default` impl of `saadc::ChannelConfig`
2 parents b55726c + 0eb0789 commit fdc34b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

embassy-nrf/src/saadc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ impl Default for Config {
7878

7979
/// Used to configure an individual SAADC peripheral channel.
8080
///
81-
/// See the `Default` impl for suitable default values.
81+
/// Construct using the `single_ended` or `differential` methods. These provide sensible defaults
82+
/// for the public fields, which can be overridden if required.
8283
#[non_exhaustive]
8384
pub struct ChannelConfig<'d> {
8485
/// Reference voltage of the SAADC input.

0 commit comments

Comments
 (0)