mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* minor refactor, SNR from packet
This commit is contained in:
parent
a9dde51a9b
commit
182c6d479d
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ protected:
|
|||
memcpy(&out_frame[i], &auth_code, 4); i += 4;
|
||||
memcpy(&out_frame[i], path_hashes, path_len); i += path_len;
|
||||
memcpy(&out_frame[i], path_snrs, path_len); i += path_len;
|
||||
out_frame[i++] = (int8_t)(_radio->getLastSNR() * 4); // extra/final SNR (to this node)
|
||||
out_frame[i++] = (int8_t)(packet->getSNR() * 4); // extra/final SNR (to this node)
|
||||
|
||||
if (_serial->isConnected()) {
|
||||
_serial->writeFrame(out_frame, i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue