Skip to content

Commit

Permalink
Add missing default serde flags for ClientConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
EmrysMyrddin authored Feb 1, 2025
1 parent 007b7d6 commit 71fe1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wifi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ pub struct ClientConfiguration {
/// BSSID of the target AP
pub bssid: Option<[u8; 6]>,
//pub protocol: Protocol,
#[cfg_attr(feature = "use_serde", serde(default))]
pub auth_method: AuthMethod,
#[cfg_attr(feature = "use_serde", serde(default = "")]
pub password: heapless::String<64>,
/// The expected Channel of the target AP
///
Expand Down

0 comments on commit 71fe1a2

Please sign in to comment.