From c307e9d5ae367afb155191d8f48ed7cf6a5dfae8 Mon Sep 17 00:00:00 2001 From: Arjan Onwezen Date: Wed, 12 May 2021 08:09:04 +0200 Subject: [PATCH] proc_aprsrx.cpp compile warning fix --- firmware/baseband/proc_aprsrx.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/firmware/baseband/proc_aprsrx.cpp b/firmware/baseband/proc_aprsrx.cpp index 56249ce1..6a579ac0 100644 --- a/firmware/baseband/proc_aprsrx.cpp +++ b/firmware/baseband/proc_aprsrx.cpp @@ -141,12 +141,11 @@ bool APRSRxProcessor::parse_bit(const uint8_t current_bit){ uint8_t decoded_bit = ~(current_bit ^ last_bit) & 0x1; last_bit = current_bit; - int16_t log = decoded_bit == 0 ? -32768 : 32767; - - //if( stream ) { - // const size_t bytes_to_write = sizeof(log) * 1; -// const auto result = stream->write(&log, bytes_to_write); -// } + //int16_t log = decoded_bit == 0 ? -32768 : 32767; + //if(stream){ + // const size_t bytes_to_write = sizeof(log) * 1; + // const auto result = stream->write(&log, bytes_to_write); + //} if(decoded_bit & 0x1){ if(ones_count < 8){