From 073b5440cb4c832077782fa31a3f23b9f30e3a9e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 25 Jun 2023 11:28:16 -0500 Subject: [PATCH] Add time to close to commands (#19) --- components/ratgdo/ratgdo.cpp | 2 ++ components/ratgdo/ratgdo.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index e2da7ee..cd2da80 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -133,6 +133,8 @@ namespace ratgdo { return "pair_2"; case 0x48b: return "get_openings"; + case 0x40a: + return "ttc"; // Time to close default: return "unknown"; } diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 87f9906..807a6e0 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -101,8 +101,11 @@ namespace ratgdo { PAIR_2 = 0x400, PAIR_2_RESP = 0x401, + TTC = 0x40a, // Time to close + GET_OPENINGS = 0x48b, OPENINGS = 0x48c, + }; }