Merge pull request #3245 from ohrlabs/saadc-channelconfig-docs

nrf, doc: Don't refer to `Default` impl of `saadc::ChannelConfig`
This commit is contained in:
Ulf Lilleengen 2024-08-09 14:08:16 +00:00 committed by GitHub
commit fdc34b69ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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