Skip to content

Commit

Permalink
Update SGF22_nrf24l01.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallanger committed Mar 29, 2024
1 parent 4f17f76 commit ffae7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Multiprotocol/SGF22_nrf24l01.ino
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void __attribute__((unused)) SGF22_send_packet()
packet[8] |= SGF22_FLAG_6G; // mode 1 - 6g
if(Channel_data[CH5] > CHANNEL_MAX_COMMAND)
packet[8] |= SGF22_FLAG_VERTICAL; // mode 0 - vertical
packet[9] = GET_FLAG(CH8_SW, SGF22_FLAG_PHOTO); // press in throttle trim for photo
packet[9] = GET_FLAG(CH8_SW, SGF22_FLAG_PHOTO) // press in throttle trim for photo
| GET_FLAG(CH10_SW, SGF22_FLAG_TRIMRESET); // Both sticks down inwards
packet[10] = 0x42; // no fine tune
packet[11] = 0x10; // no fine tune
Expand Down

0 comments on commit ffae7dd

Please sign in to comment.