paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4959] passing stm telemetry through SPI


From: antoine drouin
Subject: [paparazzi-commits] [4959] passing stm telemetry through SPI
Date: Mon, 14 Jun 2010 17:05:14 +0000

Revision: 4959
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4959
Author:   poine
Date:     2010-06-14 17:05:14 +0000 (Mon, 14 Jun 2010)
Log Message:
-----------
passing stm telemetry through SPI

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/fms/fms_autopilot_msg.h

Modified: paparazzi3/trunk/sw/airborne/fms/fms_autopilot_msg.h
===================================================================
--- paparazzi3/trunk/sw/airborne/fms/fms_autopilot_msg.h        2010-06-14 
17:04:28 UTC (rev 4958)
+++ paparazzi3/trunk/sw/airborne/fms/fms_autopilot_msg.h        2010-06-14 
17:05:14 UTC (rev 4959)
@@ -28,4 +28,22 @@
   struct AutopilotMessageBethDown down;
 };
 
+
+#define TW_BUF_LEN 63
+struct AutopilotMessageTWUp {
+  uint8_t tw_len;
+  uint8_t data[TW_BUF_LEN];
+};
+
+struct AutopilotMessageTWDown {
+  uint8_t tw_len;
+  uint8_t data[TW_BUF_LEN];
+};
+
+union AutopilotMessageTW {
+  struct AutopilotMessageTWUp up;
+  struct AutopilotMessageTWDown down;
+};
+
+
 #endif /* FMS_AUTOPILOT_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]