Skip to content

Commit

Permalink
LP-518 OPLink receiver: Update Rssi and Link quality
Browse files Browse the repository at this point in the history
  • Loading branch information
f5soh committed Feb 21, 2019
1 parent 8e861cb commit 598baec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flight/pios/common/pios_oplinkrcvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ static void PIOS_oplinkrcvr_Supervisor(uint32_t oplinkrcvr_id)
for (int32_t i = 0; i < OPLINKRECEIVER_CHANNEL_NUMELEM; i++) {
oplinkrcvr_dev->oplinkreceiverdata.Channel[i] = PIOS_RCVR_TIMEOUT;
}
oplinkrcvr_dev->oplinkreceiverdata.RSSI = -127;
oplinkrcvr_dev->oplinkreceiverdata.LinkQuality = 0;
}

oplinkrcvr_dev->Fresh = false;
Expand Down

4 comments on commit 598baec

@dronefreakofnature
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theothercliff
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have an RC to OpLink relay box with normal PPM RC receiver connected to OpLink inside the box there is an issue: If you turn off RC transmitter, the PPM stream apparently times out or is misread and all channels go to max value. I just wonder if this commit is a fix for that or if a fix for that could be considered along with this.

@arobic90
Copy link

@arobic90 arobic90 commented on 598baec Feb 7, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arobic90
Copy link

@arobic90 arobic90 commented on 598baec Feb 7, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.