From 9d0d2f0a40c9507289e94fa8cbebb0a7d0c68251 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Wed, 7 Feb 2024 20:42:09 -0800 Subject: [PATCH] handle ATH0 command --- Source/Core/Core/HW/EXI/EXI_DeviceModem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/EXI/EXI_DeviceModem.cpp b/Source/Core/Core/HW/EXI/EXI_DeviceModem.cpp index 3efabc3d7a..925354c828 100644 --- a/Source/Core/Core/HW/EXI/EXI_DeviceModem.cpp +++ b/Source/Core/Core/HW/EXI/EXI_DeviceModem.cpp @@ -365,9 +365,9 @@ void CEXIModem::RunAllPendingATCommands() INFO_LOG_FMT(SP1, "Received AT command: {}", command); - if (command.substr(0, 3) == "ATZ") + if (command.substr(0, 3) == "ATZ" || command == "ATH0") { - // Reset + // Reset (ATZ) or hang up (ATH0) m_network_interface->Deactivate(); AddATReply("OK\r"); }