mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
attitude seq field was removed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1065 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
ece979a4e1
commit
5bb4fedc7f
@ -470,7 +470,6 @@ static void DoConnectedToFC(void)
|
||||
|
||||
DEBUG_MSG("Att: Nick=%5d Roll=%5d\n\r", nick, roll);
|
||||
|
||||
attitudeData.seq++;
|
||||
attitudeData.Pitch = -(float)nick/10;
|
||||
attitudeData.Roll = -(float)roll/10;
|
||||
AttitudeActualSet(&attitudeData);
|
||||
@ -517,7 +516,6 @@ static void DoConnectedToNC(void)
|
||||
#else
|
||||
DEBUG_MSG(".");
|
||||
#endif
|
||||
attitudeData.seq++;
|
||||
attitudeData.Pitch = -Par2Int8(&msg, OSD_MSG_NICK_IDX);
|
||||
attitudeData.Roll = -Par2Int8(&msg, OSD_MSG_ROLL_IDX);
|
||||
AttitudeActualSet(&attitudeData);
|
||||
|
Loading…
Reference in New Issue
Block a user