aboutsummaryrefslogtreecommitdiff
path: root/embassy-mspm0/src/i2c.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-mspm0/src/i2c.rs')
-rw-r--r--embassy-mspm0/src/i2c.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/embassy-mspm0/src/i2c.rs b/embassy-mspm0/src/i2c.rs
index 0aefd19de..fb871f85d 100644
--- a/embassy-mspm0/src/i2c.rs
+++ b/embassy-mspm0/src/i2c.rs
@@ -164,12 +164,6 @@ pub struct Config {
164 164
165 /// Set the pull configuration for the SCL pin. 165 /// Set the pull configuration for the SCL pin.
166 pub bus_speed: BusSpeed, 166 pub bus_speed: BusSpeed,
167
168 /// 7-bit Target Address
169 pub target_addr: u8,
170
171 /// Control if the target should ack to and report general calls.
172 pub general_call: bool,
173} 167}
174 168
175impl Default for Config { 169impl Default for Config {
@@ -182,8 +176,6 @@ impl Default for Config {
182 sda_pull: Pull::None, 176 sda_pull: Pull::None,
183 scl_pull: Pull::None, 177 scl_pull: Pull::None,
184 bus_speed: BusSpeed::Standard, 178 bus_speed: BusSpeed::Standard,
185 target_addr: 0x48,
186 general_call: false,
187 } 179 }
188 } 180 }
189} 181}