mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Clean up the I2C code.
This commit is contained in:
parent
d16a06db07
commit
03682b000a
6 changed files with 111 additions and 112 deletions
|
|
@ -1076,10 +1076,9 @@ bool CMMDVMHost::createModem()
|
|||
|
||||
LogInfo("Modem Parameters");
|
||||
LogInfo(" Port: %s", port.c_str());
|
||||
if (protocol == "i2c"){
|
||||
LogInfo(" Protocol: %s", protocol.c_str());
|
||||
LogInfo(" i2c Address: %u", address);
|
||||
}
|
||||
if (protocol == "i2c")
|
||||
LogInfo(" i2c Address: %02X", address);
|
||||
LogInfo(" RX Invert: %s", rxInvert ? "yes" : "no");
|
||||
LogInfo(" TX Invert: %s", txInvert ? "yes" : "no");
|
||||
LogInfo(" PTT Invert: %s", pttInvert ? "yes" : "no");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue