Skip to content

Commit

Permalink
Update forwardChannelsToFC.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
Akceptor authored Oct 5, 2024
1 parent aa36892 commit 2388976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/forwardChannelsToFC/forwardChannelsToFC.ino
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int getLinkQuality(AlfredoCRSF& crsf) {

// Method to send channels based on CRSF instance
void sendChannels(AlfredoCRSF& crsf) {
const crsf_channels_t* channels_ptr = crsf.getChanneslPacked();
const crsf_channels_t* channels_ptr = crsf.getChannelsPacked();
crsfOut.writePacket(CRSF_SYNC_BYTE, CRSF_FRAMETYPE_RC_CHANNELS_PACKED, channels_ptr, sizeof(*channels_ptr));
}

Expand Down

0 comments on commit 2388976

Please sign in to comment.