Skip to content

Commit

Permalink
added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanLut committed Feb 3, 2025
1 parent d398660 commit 0d21684
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gs/src/Comms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,9 @@ void Comms::setTxPower(int txPower)
for (const auto& itf:m_rx_descriptor.interfaces)
{
//iw dev wlan1 set txpower fixed -4500
system(fmt::format("iw dev {} set txpower fixed {}", itf, -(txPower * 100) ).c_str());
std::string s = fmt::format("iw dev {} set txpower fixed {}", itf, -(txPower * 100) );
system(s.c_str());
printf(s.c_str());
}
}

Expand Down

0 comments on commit 0d21684

Please sign in to comment.