diff options
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/common_protocol.cpp')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/common_protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/helpers/joycon_protocol/common_protocol.cpp b/src/input_common/helpers/joycon_protocol/common_protocol.cpp index a329db107..153a3908c 100644 --- a/src/input_common/helpers/joycon_protocol/common_protocol.cpp +++ b/src/input_common/helpers/joycon_protocol/common_protocol.cpp | |||
| @@ -74,8 +74,8 @@ DriverResult JoyconCommonProtocol::SendData(std::span<const u8> buffer) { | |||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | DriverResult JoyconCommonProtocol::GetSubCommandResponse(SubCommand sc, std::vector<u8>& output) { | 76 | DriverResult JoyconCommonProtocol::GetSubCommandResponse(SubCommand sc, std::vector<u8>& output) { |
| 77 | constexpr int timeout_mili = 100; | 77 | constexpr int timeout_mili = 66; |
| 78 | constexpr int MaxTries = 10; | 78 | constexpr int MaxTries = 15; |
| 79 | int tries = 0; | 79 | int tries = 0; |
| 80 | output.resize(MaxSubCommandResponseSize); | 80 | output.resize(MaxSubCommandResponseSize); |
| 81 | 81 | ||