moved header_type inside

pull/14/head
Tom Early 6 years ago
parent 4b9f775f89
commit f626490889

@ -692,7 +692,7 @@ void CQnetGateway::ProcessSlowData(unsigned char *data, const unsigned short sid
for (int i=0; i<3; i++) {
if (band_txt[i].streamID == sid) {
if (new_group[i]) {
header_type = c1 & 0xf0;
const unsigned char header_type = c1 & 0xf0;
// header squelch
if ((header_type == 0x50) || (header_type == 0xc0)) {

@ -94,7 +94,6 @@ private:
int af_family[2] = { AF_UNSPEC, AF_UNSPEC };
// text stuff
bool new_group[3] = { true, true, true };
unsigned char header_type = 0;
short to_print[3] = { 0, 0, 0 };
bool ABC_grp[3] = { false, false, false };
bool C_seen[3] = { false, false, false };

Loading…
Cancel
Save

Powered by TurnKey Linux.