From 924da9b58c59bc0f614ac0d17ab8082cb7aeb344 Mon Sep 17 00:00:00 2001 From: Marius Muja Date: Thu, 18 Jan 2024 19:21:20 -0800 Subject: [PATCH] Test query door for 0x37 panel --- components/ratgdo/secplus1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/secplus1.cpp b/components/ratgdo/secplus1.cpp index dc280a7..91a66b0 100644 --- a/components/ratgdo/secplus1.cpp +++ b/components/ratgdo/secplus1.cpp @@ -354,7 +354,7 @@ namespace secplus1 { } else { // inject door status request if (door_moving_ || (millis() - this->last_status_query_ > 10000)) { - this->transmit_byte(static_cast(CommandType::QUERY_DOOR_STATUS)); + this->enqueue_transmit(CommandType::QUERY_DOOR_STATUS); this->last_status_query_ = millis(); } }