Skip to content

Commit ab34499

Browse files
committed
bluetooth: simplify set_ip_address() call
1 parent ec216b4 commit ab34499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bluetooth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ pub async fn bluetooth_setup_connection(
389389
info!("{} 📲 Sending parameters via bluetooth to phone...", NAME);
390390
let mut start_req = WifiStartRequest::new();
391391
info!("{} 🛜 Sending Host IP Address: {}", NAME, wlan_ip_addr);
392-
start_req.set_ip_address(String::from(wlan_ip_addr));
392+
start_req.set_ip_address(wlan_ip_addr);
393393
start_req.set_port(TCP_SERVER_PORT);
394394
send_message(&mut stream, stage, MessageId::WifiStartRequest, start_req).await?;
395395
stage += 1;

0 commit comments

Comments
 (0)