mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-22 23:10:33 +00:00
interface: satisfy rnode tcp clippy
This commit is contained in:
1 parent
20bee8bafd
commit
ade40c8283
1 file changed
+2
-2
@@ -149,10 +149,10 @@ impl PortConfig {
|
||||
} else {
|
||||
#[cfg(feature = "serial")]
|
||||
{
|
||||
return Ok(Self::Serial {
|
||||
Ok(Self::Serial {
|
||||
path: port.to_string(),
|
||||
baud,
|
||||
});
|
||||
})
|
||||
}
|
||||
#[cfg(not(feature = "serial"))]
|
||||
Err("RNode serial ports require the 'serial' feature; use tcp://host[:port] for TCP RNodes".to_string())
|
||||
|
||||
Reference in new issue
Block a user