From 8c7449970015e42316db2605db783231587efcc5 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 17 Dec 2018 00:54:54 -0500 Subject: [PATCH] Removed unused commands --- varicode.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/varicode.cpp b/varicode.cpp index 9fc09b3..ddf9496 100644 --- a/varicode.cpp +++ b/varicode.cpp @@ -76,7 +76,8 @@ QMap directed_cmds = { {" IDLE", 11 }, // i am idle {" HB", -1 }, // this is my heartbeat (unused except for faux processing of HBs as directed commands) - {" HB ACK", 12 }, // (unused, but a compatibility display) + + // {" ", 12 }, // unused {" QUERY", 13 }, // can you transmit a ping to callsign? @@ -103,7 +104,7 @@ QMap directed_cmds = { {" ", 31 }, // send freetext }; -QSet allowed_cmds = {-1, 0, 1, 2, 3, 4, 5, 6, /*7,*/ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, /*24,*/ 25, 26, 27, 28, 29, 30, 31}; +QSet allowed_cmds = {-1, 0, 1, 2, 3, 4, 5, 6, /*7,*/ 8, 9, 10, 11, /*12,*/ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, /*24,*/ 25, 26, 27, 28, 29, 30, 31}; QSet buffered_cmds = {3, 5, /*6,*/ /*7,*/ 8, 13, 14, 15};