mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Unstabilize AtCmdConfig (#2953)
This commit is contained in:
parent
e6c38c59b7
commit
2da7cbc812
@ -452,6 +452,7 @@ impl Default for Config {
|
|||||||
/// Configuration for the AT-CMD detection functionality
|
/// Configuration for the AT-CMD detection functionality
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, procmacros::BuilderLite)]
|
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, procmacros::BuilderLite)]
|
||||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||||
|
#[instability::unstable]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub struct AtCmdConfig {
|
pub struct AtCmdConfig {
|
||||||
/// Optional idle time before the AT command detection begins, in clock
|
/// Optional idle time before the AT command detection begins, in clock
|
||||||
@ -1161,6 +1162,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Configures the AT-CMD detection settings
|
/// Configures the AT-CMD detection settings
|
||||||
|
#[instability::unstable]
|
||||||
pub fn set_at_cmd(&mut self, config: AtCmdConfig) {
|
pub fn set_at_cmd(&mut self, config: AtCmdConfig) {
|
||||||
let register_block = self.register_block();
|
let register_block = self.register_block();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user