From ada55d22f0257f49d6fc682e8d9afc59ba078a69 Mon Sep 17 00:00:00 2001 From: Rodrigo Alfonso Date: Thu, 22 Aug 2024 22:45:49 -0300 Subject: [PATCH] LinkMobile fix: Increasing INIT_TIMEOUT_FRAMES to 60*3 so it also works with the Red and Yellow adapters --- lib/LinkMobile.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LinkMobile.hpp b/lib/LinkMobile.hpp index 90d7eff..ddee9cd 100644 --- a/lib/LinkMobile.hpp +++ b/lib/LinkMobile.hpp @@ -101,7 +101,7 @@ class LinkMobile { static constexpr auto BASE_FREQUENCY = Link::_TM_FREQ_1024; static constexpr int INIT_WAIT_FRAMES = 7; - static constexpr int INIT_TIMEOUT_FRAMES = 30; + static constexpr int INIT_TIMEOUT_FRAMES = 60 * 3; static constexpr int PING_FREQUENCY_FRAMES = 60; static constexpr int ADAPTER_WAITING = 0xd2; static constexpr u32 ADAPTER_WAITING_32BIT = 0xd2d2d2d2;