mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 12:08:40 +00:00
Merge pull request #358 from ArjanOnwezen/proc_aprsrc_cpp_warning_fix
proc_aprsrx.cpp compile warning fix
This commit is contained in:
commit
182059b3c6
@ -141,8 +141,7 @@ 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;
|
||||
|
||||
//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);
|
||||
|
Loading…
Reference in New Issue
Block a user