Skip to content
Snippets Groups Projects
Commit 2bebd8ee authored by Tobias Gröger's avatar Tobias Gröger
Browse files

GamepadUnit: reducing spamming

parent c3a72037
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include "GamepadUnit.h"
#include "ArmarXCore/core/logging/Logging.h"
#include <ArmarXCore/util/CPPUtility/trace.h>
#include <ArmarXCore/observers/variant/TimestampVariant.h>
#include <linux/joystick.h>
......@@ -53,7 +54,7 @@ void GamepadUnit::onConnectComponent()
ARMARX_TRACE;
if (!dataTimestamp)
{
ARMARX_INFO << "dataTimestamp is null, waiting for value";
ARMARX_INFO << deactivateSpam(1) << "dataTimestamp is null, waiting for value";
return;
}
ARMARX_CHECK_NOT_NULL(dataTimestamp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment