mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
commit
52d1c2d517
@ -146,7 +146,7 @@ static void systemTask(__attribute__((unused)) void *parameters)
|
||||
OPLinkStatusGet(&oplinkStatus);
|
||||
|
||||
// Get the other device stats.
|
||||
PIOS_RFM2B_GetPairStats(pios_rfm22b_id, oplinkStatus.PairIDs, oplinkStatus.PairSignalStrengths, OPLINKSTATUS_PAIRIDS_NUMELEM);
|
||||
PIOS_RFM22B_GetPairStats(pios_rfm22b_id, oplinkStatus.PairIDs, oplinkStatus.PairSignalStrengths, OPLINKSTATUS_PAIRIDS_NUMELEM);
|
||||
|
||||
// Get the stats from the radio device
|
||||
struct rfm22b_stats radio_stats;
|
||||
|
@ -269,7 +269,7 @@ static void systemTask(__attribute__((unused)) void *parameters)
|
||||
|
||||
if (pios_rfm22b_id) {
|
||||
// Get the other device stats.
|
||||
PIOS_RFM2B_GetPairStats(pios_rfm22b_id, oplinkStatus.PairIDs, oplinkStatus.PairSignalStrengths, OPLINKSTATUS_PAIRIDS_NUMELEM);
|
||||
PIOS_RFM22B_GetPairStats(pios_rfm22b_id, oplinkStatus.PairIDs, oplinkStatus.PairSignalStrengths, OPLINKSTATUS_PAIRIDS_NUMELEM);
|
||||
|
||||
// Get the stats from the radio device
|
||||
struct rfm22b_stats radio_stats;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define GPS9GPSHANDLER_H_
|
||||
|
||||
#define GPS_BUFFER_SIZE 250
|
||||
#define FC_BUFFER_SIZE 120
|
||||
#define FC_BUFFER_SIZE 120
|
||||
|
||||
void handleGPS();
|
||||
void setupGPS();
|
||||
|
@ -682,7 +682,7 @@ void PIOS_RFM22B_GetStats(uint32_t rfm22b_id, struct rfm22b_stats *stats)
|
||||
* @param[in] mx_pairs The length of the pdevice_ids and RSSIs arrays.
|
||||
* @return The number of pair stats returned.
|
||||
*/
|
||||
uint8_t PIOS_RFM2B_GetPairStats(uint32_t rfm22b_id, uint32_t *device_ids, int8_t *RSSIs, uint8_t max_pairs)
|
||||
uint8_t PIOS_RFM22B_GetPairStats(uint32_t rfm22b_id, uint32_t *device_ids, int8_t *RSSIs, uint8_t max_pairs)
|
||||
{
|
||||
struct pios_rfm22b_dev *rfm22b_dev = (struct pios_rfm22b_dev *)rfm22b_id;
|
||||
|
||||
|
@ -107,7 +107,7 @@ extern void PIOS_RFM22B_SetChannelConfig(uint32_t rfm22b_id, enum rfm22b_datarat
|
||||
extern void PIOS_RFM22B_SetCoordinatorID(uint32_t rfm22b_id, uint32_t coord_id);
|
||||
extern uint32_t PIOS_RFM22B_DeviceID(uint32_t rfb22b_id);
|
||||
extern void PIOS_RFM22B_GetStats(uint32_t rfm22b_id, struct rfm22b_stats *stats);
|
||||
extern uint8_t PIOS_RFM2B_GetPairStats(uint32_t rfm22b_id, uint32_t *device_ids, int8_t *RSSIs, uint8_t max_pairs);
|
||||
extern uint8_t PIOS_RFM22B_GetPairStats(uint32_t rfm22b_id, uint32_t *device_ids, int8_t *RSSIs, uint8_t max_pairs);
|
||||
extern bool PIOS_RFM22B_InRxWait(uint32_t rfb22b_id);
|
||||
extern bool PIOS_RFM22B_LinkStatus(uint32_t rfm22b_id);
|
||||
extern bool PIOS_RFM22B_ReceivePacket(uint32_t rfm22b_id, uint8_t *p);
|
||||
|
@ -173,7 +173,7 @@
|
||||
/* Task stack sizes */
|
||||
/* #define PIOS_ACTUATOR_STACK_SIZE 1020 */
|
||||
/* #define PIOS_MANUAL_STACK_SIZE 800 */
|
||||
#define PIOS_SYSTEM_STACK_SIZE 1536
|
||||
#define PIOS_SYSTEM_STACK_SIZE 1536
|
||||
/* #define PIOS_STABILIZATION_STACK_SIZE 524 */
|
||||
/* #define PIOS_TELEM_STACK_SIZE 500 */
|
||||
/* #define PIOS_EVENTDISPATCHER_STACK_SIZE 130 */
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include <osg/ComputeBoundsVisitor>
|
||||
|
||||
#include <osgearth/GeoTransform>
|
||||
#include <osgEarth/GeoTransform>
|
||||
#include <osgEarth/MapNode>
|
||||
#include <osgEarth/GeoData>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
|
||||
#include <qDebug>
|
||||
#include <QDebug>
|
||||
|
||||
namespace osgQtQuick {
|
||||
class OSGNode;
|
||||
|
@ -280,12 +280,10 @@ void PfdQmlContext::loadConfiguration(PfdQmlGadgetConfiguration *config)
|
||||
|
||||
|
||||
void PfdQmlContext::saveState(QSettings *settings)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
void PfdQmlContext::restoreState(QSettings *settings)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
void PfdQmlContext::apply(QQmlContext *context)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user