1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

Get/SET Receiver settings frame

This commit is contained in:
Bertrand Songis 2019-03-07 18:57:02 +01:00
parent 68df083394
commit 2ce141c7ae
8 changed files with 84 additions and 64 deletions

View file

@ -1141,6 +1141,13 @@ union ReusableBuffer
};
} moduleSetup;
struct {
uint8_t state; // 0x00 = READ 0x40 = WRITE
uint8_t moduleIdx;
uint8_t receiverId;
uint8_t channelMapping[24];
} receiverSetup;
// 103 bytes
struct {
int16_t midVals[NUM_STICKS+NUM_POTS+NUM_SLIDERS+NUM_MOUSE_ANALOGS];