mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-28 09:04:25 -04:00
Revert "Fix RSSI offset for pre-msg RSSI notification"
This commit is contained in:
parent
454de10ee9
commit
544eb85eef
2 changed files with 2 additions and 8 deletions
|
@ -144,7 +144,7 @@ void receiveCallback(int packet_size) {
|
|||
// recieved packet to the host.
|
||||
Serial.write(FEND);
|
||||
Serial.write(CMD_STAT_RSSI);
|
||||
Serial.write((uint8_t)(last_rssi+rssi_offset));
|
||||
Serial.write((uint8_t)(last_rssi-rssi_offset));
|
||||
Serial.write(FEND);
|
||||
|
||||
// And then write the entire packet
|
||||
|
@ -170,7 +170,7 @@ void receiveCallback(int packet_size) {
|
|||
// recieved packet to the host.
|
||||
Serial.write(FEND);
|
||||
Serial.write(CMD_STAT_RSSI);
|
||||
Serial.write((uint8_t)(last_rssi+rssi_offset));
|
||||
Serial.write((uint8_t)(last_rssi-rssi_offset));
|
||||
Serial.write(FEND);
|
||||
|
||||
// And then write the entire packet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue