summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_protocol/common_protocol.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-06-28 16:38:45 +0200
committergerman77 <juangerman-13@hotmail.com>2023-06-29 09:07:39 +0200
commitac755476cdaa8bace9c86183125d34dbe4c8cee9 (patch)
tree4e808e1d2783dc230d9a194effc970453cffa8ff /src/input_common/helpers/joycon_protocol/common_protocol.cpp
parentinput_common: Remove duplicated DriverResult enum (diff)
downloadyuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar.gz
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar.bz2
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar.lz
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar.xz
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.tar.zst
yuzu-ac755476cdaa8bace9c86183125d34dbe4c8cee9.zip
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/common_protocol.cpp')
-rw-r--r--src/input_common/helpers/joycon_protocol/common_protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/helpers/joycon_protocol/common_protocol.cpp b/src/input_common/helpers/joycon_protocol/common_protocol.cpp
index e10d15c18..a6eecf980 100644
--- a/src/input_common/helpers/joycon_protocol/common_protocol.cpp
+++ b/src/input_common/helpers/joycon_protocol/common_protocol.cpp
@@ -75,7 +75,7 @@ Common::Input::DriverResult JoyconCommonProtocol::SendRawData(std::span<const u8
Common::Input::DriverResult JoyconCommonProtocol::GetSubCommandResponse(
SubCommand sc, SubCommandResponse& output) {
constexpr int timeout_mili = 66;
- constexpr int MaxTries = 3;
+ constexpr int MaxTries = 10;
int tries = 0;
do {