DualShockUDPClient: downgrade spurious NOTICE_LOGs

This commit is contained in:
Pierre Bourdon 2019-12-23 18:36:18 +01:00
parent 8a50d9c540
commit 5c996dec89
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C
1 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ static sf::Socket::Status ReceiveWithTimeout(sf::UdpSocket& socket, void* data,
static void HotplugThreadFunc() static void HotplugThreadFunc()
{ {
Common::SetCurrentThreadName("DualShockUDPClient Hotplug Thread"); Common::SetCurrentThreadName("DualShockUDPClient Hotplug Thread");
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread started"); INFO_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread started");
while (s_hotplug_thread_running.IsSet()) while (s_hotplug_thread_running.IsSet())
{ {
@ -211,7 +211,7 @@ static void HotplugThreadFunc()
} }
} }
} }
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread stopped"); INFO_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread stopped");
} }
static void StartHotplugThread() static void StartHotplugThread()
@ -241,7 +241,7 @@ static void StopHotplugThread()
static void Restart() static void Restart()
{ {
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient Restart"); INFO_LOG(SERIALINTERFACE, "DualShockUDPClient Restart");
StopHotplugThread(); StopHotplugThread();
@ -281,7 +281,7 @@ void Init()
void PopulateDevices() void PopulateDevices()
{ {
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient PopulateDevices"); INFO_LOG(SERIALINTERFACE, "DualShockUDPClient PopulateDevices");
g_controller_interface.RemoveDevice( g_controller_interface.RemoveDevice(
[](const auto* dev) { return dev->GetSource() == "DSUClient"; }); [](const auto* dev) { return dev->GetSource() == "DSUClient"; });