From 8b2e1c32d7d8362de0ad007bd9dfc7927b21a649 Mon Sep 17 00:00:00 2001 From: pip Date: Sat, 11 Dec 2010 10:56:33 +0000 Subject: [PATCH] Adding PipX modem settings/status UAVObjects git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2218 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../UAVObjects/inc/pipxtrememodemsettings.h | 109 ++++++++++++++ .../UAVObjects/inc/pipxtrememodemstatus.h | 111 ++++++++++++++ .../UAVObjects/pipxtrememodemsettings.c | 132 +++++++++++++++++ .../UAVObjects/pipxtrememodemstatus.c | 136 ++++++++++++++++++ flight/OpenPilot/UAVObjects/uavobjectsinit.c | 4 + 5 files changed, 492 insertions(+) create mode 100644 flight/OpenPilot/UAVObjects/inc/pipxtrememodemsettings.h create mode 100644 flight/OpenPilot/UAVObjects/inc/pipxtrememodemstatus.h create mode 100644 flight/OpenPilot/UAVObjects/pipxtrememodemsettings.c create mode 100644 flight/OpenPilot/UAVObjects/pipxtrememodemstatus.c diff --git a/flight/OpenPilot/UAVObjects/inc/pipxtrememodemsettings.h b/flight/OpenPilot/UAVObjects/inc/pipxtrememodemsettings.h new file mode 100644 index 000000000..adb292ede --- /dev/null +++ b/flight/OpenPilot/UAVObjects/inc/pipxtrememodemsettings.h @@ -0,0 +1,109 @@ +/** + ****************************************************************************** + * @addtogroup UAVObjects OpenPilot UAVObjects + * @{ + * @addtogroup PipXtremeModemSettings PipXtremeModemSettings + * @brief Settings for the @ref PipXtremeModemSettings + * + * Autogenerated files and functions for PipXtremeModemSettings Object + + * @{ + * + * @file pipxtrememodemsettings.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief Implementation of the PipXtremeModemSettings object. This file has been + * automatically generated by the UAVObjectGenerator. + * + * @note Object definition file: pipxtrememodemsettings.xml. + * This is an automatically generated file. + * DO NOT modify manually. + * + * @see The GNU Public License (GPL) Version 3 + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef PIPXTREMEMODEMSETTINGS_H +#define PIPXTREMEMODEMSETTINGS_H + +// Object constants +#define PIPXTREMEMODEMSETTINGS_OBJID 1441129524U +#define PIPXTREMEMODEMSETTINGS_NAME "PipXtremeModemSettings" +#define PIPXTREMEMODEMSETTINGS_METANAME "PipXtremeModemSettingsMeta" +#define PIPXTREMEMODEMSETTINGS_ISSINGLEINST 1 +#define PIPXTREMEMODEMSETTINGS_ISSETTINGS 1 +#define PIPXTREMEMODEMSETTINGS_NUMBYTES sizeof(PipXtremeModemSettingsData) + +// Object access macros +/** + * @function PipXtremeModemSettingsGet(dataOut) + * @brief Populate a PipXtremeModemSettingsData object + * @param[out] dataOut + */ +#define PipXtremeModemSettingsGet(dataOut) UAVObjGetData(PipXtremeModemSettingsHandle(), dataOut) +#define PipXtremeModemSettingsSet(dataIn) UAVObjSetData(PipXtremeModemSettingsHandle(), dataIn) +#define PipXtremeModemSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(PipXtremeModemSettingsHandle(), instId, dataOut) +#define PipXtremeModemSettingsInstSet(instId, dataIn) UAVObjSetInstanceData(PipXtremeModemSettingsHandle(), instId, dataIn) +#define PipXtremeModemSettingsConnectQueue(queue) UAVObjConnectQueue(PipXtremeModemSettingsHandle(), queue, EV_MASK_ALL_UPDATES) +#define PipXtremeModemSettingsConnectCallback(cb) UAVObjConnectCallback(PipXtremeModemSettingsHandle(), cb, EV_MASK_ALL_UPDATES) +#define PipXtremeModemSettingsCreateInstance() UAVObjCreateInstance(PipXtremeModemSettingsHandle()) +#define PipXtremeModemSettingsRequestUpdate() UAVObjRequestUpdate(PipXtremeModemSettingsHandle()) +#define PipXtremeModemSettingsRequestInstUpdate(instId) UAVObjRequestInstanceUpdate(PipXtremeModemSettingsHandle(), instId) +#define PipXtremeModemSettingsUpdated() UAVObjUpdated(PipXtremeModemSettingsHandle()) +#define PipXtremeModemSettingsInstUpdated(instId) UAVObjUpdated(PipXtremeModemSettingsHandle(), instId) +#define PipXtremeModemSettingsGetMetadata(dataOut) UAVObjGetMetadata(PipXtremeModemSettingsHandle(), dataOut) +#define PipXtremeModemSettingsSetMetadata(dataIn) UAVObjSetMetadata(PipXtremeModemSettingsHandle(), dataIn) +#define PipXtremeModemSettingsReadOnly(dataIn) UAVObjReadOnly(PipXtremeModemSettingsHandle()) + +// Object data +typedef struct { + uint32_t Frequency; + uint8_t RFBandwidth; + uint8_t MaxTxPower; + uint8_t AESEncryption; + uint8_t AESEncryptionKey[16]; + uint32_t PairedSerialNumberCRC; + +} __attribute__((packed)) PipXtremeModemSettingsData; + +// Field information +// Field Frequency information +// Field RFBandwidth information +/* Enumeration options for field RFBandwidth */ +typedef enum { PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_500=0, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_1000=1, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_2000=2, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_4000=3, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_8000=4, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_9600=5, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_16000=6, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_19200=7, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_24000=8, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_32000=9, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_64000=10, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_128000=11, PIPXTREMEMODEMSETTINGS_RFBANDWIDTH_192000=12 } PipXtremeModemSettingsRFBandwidthOptions; +// Field MaxTxPower information +/* Enumeration options for field MaxTxPower */ +typedef enum { PIPXTREMEMODEMSETTINGS_MAXTXPOWER_1=0, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_2=1, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_5=2, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_8=3, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_11=4, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_14=5, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_17=6, PIPXTREMEMODEMSETTINGS_MAXTXPOWER_20=7 } PipXtremeModemSettingsMaxTxPowerOptions; +// Field AESEncryption information +/* Enumeration options for field AESEncryption */ +typedef enum { PIPXTREMEMODEMSETTINGS_AESENCRYPTION_FALSE=0, PIPXTREMEMODEMSETTINGS_AESENCRYPTION_TRUE=1 } PipXtremeModemSettingsAESEncryptionOptions; +// Field AESEncryptionKey information +/* Number of elements for field AESEncryptionKey */ +#define PIPXTREMEMODEMSETTINGS_AESENCRYPTIONKEY_NUMELEM 16 +// Field PairedSerialNumberCRC information + + +// Generic interface functions +int32_t PipXtremeModemSettingsInitialize(); +UAVObjHandle PipXtremeModemSettingsHandle(); + +#endif // PIPXTREMEMODEMSETTINGS_H + +/** + * @} + * @} + */ diff --git a/flight/OpenPilot/UAVObjects/inc/pipxtrememodemstatus.h b/flight/OpenPilot/UAVObjects/inc/pipxtrememodemstatus.h new file mode 100644 index 000000000..73f087fa6 --- /dev/null +++ b/flight/OpenPilot/UAVObjects/inc/pipxtrememodemstatus.h @@ -0,0 +1,111 @@ +/** + ****************************************************************************** + * @addtogroup UAVObjects OpenPilot UAVObjects + * @{ + * @addtogroup PipXtremeModemStatus PipXtremeModemStatus + * @brief Status for the @ref PipXtremeModem + * + * Autogenerated files and functions for PipXtremeModemStatus Object + + * @{ + * + * @file pipxtrememodemstatus.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief Implementation of the PipXtremeModemStatus object. This file has been + * automatically generated by the UAVObjectGenerator. + * + * @note Object definition file: pipxtrememodemstatus.xml. + * This is an automatically generated file. + * DO NOT modify manually. + * + * @see The GNU Public License (GPL) Version 3 + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef PIPXTREMEMODEMSTATUS_H +#define PIPXTREMEMODEMSTATUS_H + +// Object constants +#define PIPXTREMEMODEMSTATUS_OBJID 1854119896U +#define PIPXTREMEMODEMSTATUS_NAME "PipXtremeModemStatus" +#define PIPXTREMEMODEMSTATUS_METANAME "PipXtremeModemStatusMeta" +#define PIPXTREMEMODEMSTATUS_ISSINGLEINST 1 +#define PIPXTREMEMODEMSTATUS_ISSETTINGS 0 +#define PIPXTREMEMODEMSTATUS_NUMBYTES sizeof(PipXtremeModemStatusData) + +// Object access macros +/** + * @function PipXtremeModemStatusGet(dataOut) + * @brief Populate a PipXtremeModemStatusData object + * @param[out] dataOut + */ +#define PipXtremeModemStatusGet(dataOut) UAVObjGetData(PipXtremeModemStatusHandle(), dataOut) +#define PipXtremeModemStatusSet(dataIn) UAVObjSetData(PipXtremeModemStatusHandle(), dataIn) +#define PipXtremeModemStatusInstGet(instId, dataOut) UAVObjGetInstanceData(PipXtremeModemStatusHandle(), instId, dataOut) +#define PipXtremeModemStatusInstSet(instId, dataIn) UAVObjSetInstanceData(PipXtremeModemStatusHandle(), instId, dataIn) +#define PipXtremeModemStatusConnectQueue(queue) UAVObjConnectQueue(PipXtremeModemStatusHandle(), queue, EV_MASK_ALL_UPDATES) +#define PipXtremeModemStatusConnectCallback(cb) UAVObjConnectCallback(PipXtremeModemStatusHandle(), cb, EV_MASK_ALL_UPDATES) +#define PipXtremeModemStatusCreateInstance() UAVObjCreateInstance(PipXtremeModemStatusHandle()) +#define PipXtremeModemStatusRequestUpdate() UAVObjRequestUpdate(PipXtremeModemStatusHandle()) +#define PipXtremeModemStatusRequestInstUpdate(instId) UAVObjRequestInstanceUpdate(PipXtremeModemStatusHandle(), instId) +#define PipXtremeModemStatusUpdated() UAVObjUpdated(PipXtremeModemStatusHandle()) +#define PipXtremeModemStatusInstUpdated(instId) UAVObjUpdated(PipXtremeModemStatusHandle(), instId) +#define PipXtremeModemStatusGetMetadata(dataOut) UAVObjGetMetadata(PipXtremeModemStatusHandle(), dataOut) +#define PipXtremeModemStatusSetMetadata(dataIn) UAVObjSetMetadata(PipXtremeModemStatusHandle(), dataIn) +#define PipXtremeModemStatusReadOnly(dataIn) UAVObjReadOnly(PipXtremeModemStatusHandle()) + +// Object data +typedef struct { + uint8_t SerialNumber[24]; + uint32_t SerialNumberCRC; + uint32_t UpTime; + uint32_t Frequency; + uint32_t RFBandwidth; + int8_t TxPower; + uint8_t State; + uint32_t TxDataRate; + uint32_t RxDataRate; + +} __attribute__((packed)) PipXtremeModemStatusData; + +// Field information +// Field SerialNumber information +/* Number of elements for field SerialNumber */ +#define PIPXTREMEMODEMSTATUS_SERIALNUMBER_NUMELEM 24 +// Field SerialNumberCRC information +// Field UpTime information +// Field Frequency information +// Field RFBandwidth information +// Field TxPower information +// Field State information +/* Enumeration options for field State */ +typedef enum { PIPXTREMEMODEMSTATUS_STATE_DISCONNECTED=0, PIPXTREMEMODEMSTATUS_STATE_CONNECTING=1, PIPXTREMEMODEMSTATUS_STATE_CONNECTED=2, PIPXTREMEMODEMSTATUS_STATE_NOTREADY=3 } PipXtremeModemStatusStateOptions; +// Field TxDataRate information +// Field RxDataRate information + + +// Generic interface functions +int32_t PipXtremeModemStatusInitialize(); +UAVObjHandle PipXtremeModemStatusHandle(); + +#endif // PIPXTREMEMODEMSTATUS_H + +/** + * @} + * @} + */ diff --git a/flight/OpenPilot/UAVObjects/pipxtrememodemsettings.c b/flight/OpenPilot/UAVObjects/pipxtrememodemsettings.c new file mode 100644 index 000000000..66f6a60a0 --- /dev/null +++ b/flight/OpenPilot/UAVObjects/pipxtrememodemsettings.c @@ -0,0 +1,132 @@ +/** + ****************************************************************************** + * @addtogroup UAVObjects OpenPilot UAVObjects + * @{ + * @addtogroup PipXtremeModemSettings PipXtremeModemSettings + * @brief Settings for the @ref PipXtremeModemSettings + * + * Autogenerated files and functions for PipXtremeModemSettings Object + * @{ + * + * @file pipxtrememodemsettings.c + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief Implementation of the PipXtremeModemSettings object. This file has been + * automatically generated by the UAVObjectGenerator. + * + * @note Object definition file: pipxtrememodemsettings.xml. + * This is an automatically generated file. + * DO NOT modify manually. + * + * @see The GNU Public License (GPL) Version 3 + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include "openpilot.h" +#include "pipxtrememodemsettings.h" + +// Private variables +static UAVObjHandle handle; + +// Private functions +static void setDefaults(UAVObjHandle obj, uint16_t instId); + +/** + * Initialize object. + * \return 0 Success + * \return -1 Failure + */ +int32_t PipXtremeModemSettingsInitialize() +{ + // Register object with the object manager + handle = UAVObjRegister(PIPXTREMEMODEMSETTINGS_OBJID, PIPXTREMEMODEMSETTINGS_NAME, PIPXTREMEMODEMSETTINGS_METANAME, 0, + PIPXTREMEMODEMSETTINGS_ISSINGLEINST, PIPXTREMEMODEMSETTINGS_ISSETTINGS, PIPXTREMEMODEMSETTINGS_NUMBYTES, &setDefaults); + + // Done + if (handle != 0) + { + return 0; + } + else + { + return -1; + } +} + +/** + * Initialize object fields and metadata with the default values. + * If a default value is not specified the object fields + * will be initialized to zero. + */ +static void setDefaults(UAVObjHandle obj, uint16_t instId) +{ + PipXtremeModemSettingsData data; + UAVObjMetadata metadata; + + // Initialize object fields to their default values + UAVObjGetInstanceData(obj, instId, &data); + memset(&data, 0, sizeof(PipXtremeModemSettingsData)); + data.Frequency = 433920000; + data.RFBandwidth = 11; + data.MaxTxPower = 4; + data.AESEncryption = 0; + data.AESEncryptionKey[0] = 0; + data.AESEncryptionKey[1] = 0; + data.AESEncryptionKey[2] = 0; + data.AESEncryptionKey[3] = 0; + data.AESEncryptionKey[4] = 0; + data.AESEncryptionKey[5] = 0; + data.AESEncryptionKey[6] = 0; + data.AESEncryptionKey[7] = 0; + data.AESEncryptionKey[8] = 0; + data.AESEncryptionKey[9] = 0; + data.AESEncryptionKey[10] = 0; + data.AESEncryptionKey[11] = 0; + data.AESEncryptionKey[12] = 0; + data.AESEncryptionKey[13] = 0; + data.AESEncryptionKey[14] = 0; + data.AESEncryptionKey[15] = 0; + data.PairedSerialNumberCRC = 0; + + UAVObjSetInstanceData(obj, instId, &data); + + // Initialize object metadata to their default values + metadata.access = ACCESS_READWRITE; + metadata.gcsAccess = ACCESS_READWRITE; + metadata.telemetryAcked = 1; + metadata.telemetryUpdateMode = UPDATEMODE_ONCHANGE; + metadata.telemetryUpdatePeriod = 0; + metadata.gcsTelemetryAcked = 1; + metadata.gcsTelemetryUpdateMode = UPDATEMODE_ONCHANGE; + metadata.gcsTelemetryUpdatePeriod = 0; + metadata.loggingUpdateMode = UPDATEMODE_NEVER; + metadata.loggingUpdatePeriod = 0; + UAVObjSetMetadata(obj, &metadata); +} + +/** + * Get object handle + */ +UAVObjHandle PipXtremeModemSettingsHandle() +{ + return handle; +} + +/** + * @} + */ + diff --git a/flight/OpenPilot/UAVObjects/pipxtrememodemstatus.c b/flight/OpenPilot/UAVObjects/pipxtrememodemstatus.c new file mode 100644 index 000000000..bed97a403 --- /dev/null +++ b/flight/OpenPilot/UAVObjects/pipxtrememodemstatus.c @@ -0,0 +1,136 @@ +/** + ****************************************************************************** + * @addtogroup UAVObjects OpenPilot UAVObjects + * @{ + * @addtogroup PipXtremeModemStatus PipXtremeModemStatus + * @brief Status for the @ref PipXtremeModem + * + * Autogenerated files and functions for PipXtremeModemStatus Object + * @{ + * + * @file pipxtrememodemstatus.c + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief Implementation of the PipXtremeModemStatus object. This file has been + * automatically generated by the UAVObjectGenerator. + * + * @note Object definition file: pipxtrememodemstatus.xml. + * This is an automatically generated file. + * DO NOT modify manually. + * + * @see The GNU Public License (GPL) Version 3 + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include "openpilot.h" +#include "pipxtrememodemstatus.h" + +// Private variables +static UAVObjHandle handle; + +// Private functions +static void setDefaults(UAVObjHandle obj, uint16_t instId); + +/** + * Initialize object. + * \return 0 Success + * \return -1 Failure + */ +int32_t PipXtremeModemStatusInitialize() +{ + // Register object with the object manager + handle = UAVObjRegister(PIPXTREMEMODEMSTATUS_OBJID, PIPXTREMEMODEMSTATUS_NAME, PIPXTREMEMODEMSTATUS_METANAME, 0, + PIPXTREMEMODEMSTATUS_ISSINGLEINST, PIPXTREMEMODEMSTATUS_ISSETTINGS, PIPXTREMEMODEMSTATUS_NUMBYTES, &setDefaults); + + // Done + if (handle != 0) + { + return 0; + } + else + { + return -1; + } +} + +/** + * Initialize object fields and metadata with the default values. + * If a default value is not specified the object fields + * will be initialized to zero. + */ +static void setDefaults(UAVObjHandle obj, uint16_t instId) +{ + PipXtremeModemStatusData data; + UAVObjMetadata metadata; + + // Initialize object fields to their default values + UAVObjGetInstanceData(obj, instId, &data); + memset(&data, 0, sizeof(PipXtremeModemStatusData)); + data.SerialNumber[0] = 0; + data.SerialNumber[1] = 0; + data.SerialNumber[2] = 0; + data.SerialNumber[3] = 0; + data.SerialNumber[4] = 0; + data.SerialNumber[5] = 0; + data.SerialNumber[6] = 0; + data.SerialNumber[7] = 0; + data.SerialNumber[8] = 0; + data.SerialNumber[9] = 0; + data.SerialNumber[10] = 0; + data.SerialNumber[11] = 0; + data.SerialNumber[12] = 0; + data.SerialNumber[13] = 0; + data.SerialNumber[14] = 0; + data.SerialNumber[15] = 0; + data.SerialNumber[16] = 0; + data.SerialNumber[17] = 0; + data.SerialNumber[18] = 0; + data.SerialNumber[19] = 0; + data.SerialNumber[20] = 0; + data.SerialNumber[21] = 0; + data.SerialNumber[22] = 0; + data.SerialNumber[23] = 0; + data.SerialNumberCRC = 0; + + UAVObjSetInstanceData(obj, instId, &data); + + // Initialize object metadata to their default values + metadata.access = ACCESS_READWRITE; + metadata.gcsAccess = ACCESS_READWRITE; + metadata.telemetryAcked = 0; + metadata.telemetryUpdateMode = UPDATEMODE_PERIODIC; + metadata.telemetryUpdatePeriod = 2000; + metadata.gcsTelemetryAcked = 0; + metadata.gcsTelemetryUpdateMode = UPDATEMODE_MANUAL; + metadata.gcsTelemetryUpdatePeriod = 0; + metadata.loggingUpdateMode = UPDATEMODE_NEVER; + metadata.loggingUpdatePeriod = 0; + UAVObjSetMetadata(obj, &metadata); +} + +/** + * Get object handle + */ +UAVObjHandle PipXtremeModemStatusHandle() +{ + return handle; +} + +/** + * @} + */ + diff --git a/flight/OpenPilot/UAVObjects/uavobjectsinit.c b/flight/OpenPilot/UAVObjects/uavobjectsinit.c index 7de8b7d7a..58d95a0cf 100644 --- a/flight/OpenPilot/UAVObjects/uavobjectsinit.c +++ b/flight/OpenPilot/UAVObjects/uavobjectsinit.c @@ -52,6 +52,8 @@ #include "mixersettings.h" #include "mixerstatus.h" #include "objectpersistence.h" +#include "pipxtrememodemsettings.h" +#include "pipxtrememodemstatus.h" #include "positionactual.h" #include "positiondesired.h" #include "ratedesired.h" @@ -94,6 +96,8 @@ void UAVObjectsInitializeAll() MixerSettingsInitialize(); MixerStatusInitialize(); ObjectPersistenceInitialize(); + PipXtremeModemSettingsInitialize(); + PipXtremeModemStatusInitialize(); PositionActualInitialize(); PositionDesiredInitialize(); RateDesiredInitialize();