mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 08:53:34 +08:00
microRTPS: delete run() functions as they are not needed
This commit is contained in:
@@ -179,13 +179,6 @@ void @(topic)_Subscriber::SubListener::onNewDataMessage(Subscriber* sub)
|
||||
}
|
||||
}
|
||||
|
||||
void @(topic)_Subscriber::run()
|
||||
{
|
||||
std::cout << "Waiting for Data, press Enter to stop the Subscriber. "<<std::endl;
|
||||
std::cin.ignore();
|
||||
std::cout << "Shutting down the Subscriber." << std::endl;
|
||||
}
|
||||
|
||||
bool @(topic)_Subscriber::hasMsg()
|
||||
{
|
||||
if (m_listener.n_matched > 0) {
|
||||
|
||||
Reference in New Issue
Block a user