From eceaee124b17d2fb04b42f49ca2c534724569b04 Mon Sep 17 00:00:00 2001 From: Rob Riggs Date: Thu, 5 Mar 2020 20:29:30 -0600 Subject: [PATCH] Change IDLE to FLAG (testing; req'd per AX.25). --- TNC/HDLCEncoder.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TNC/HDLCEncoder.hpp b/TNC/HDLCEncoder.hpp index 355f679..4e90897 100644 --- a/TNC/HDLCEncoder.hpp +++ b/TNC/HDLCEncoder.hpp @@ -25,8 +25,9 @@ using namespace mobilinkd::libafsk; struct Encoder { - static const uint8_t IDLE = 0x00; - static const uint8_t FLAG = 0x7E; + // static constexpr uint8_t IDLE = 0x00; + static constexpr uint8_t IDLE = 0x7E; + static constexpr uint8_t FLAG = 0x7E; enum class state_type { STATE_IDLE,