diff --git a/RNode_Firmware.ino b/RNode_Firmware.ino index 4928529..6bf3bfb 100644 --- a/RNode_Firmware.ino +++ b/RNode_Firmware.ino @@ -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