Beat Küng 9c360e9f88 uORB: fix node_open: *instance is read even though it's an output parameter
This fixes a subtle bug: the instance parameter of orb_advertise is an output
parameter and thus its value can be random. However in node_open this value
is accessed and thus the open(...) call could succeed even though it should
not. This can happen for example if a second advertiser of a topic calls
orb_advertise_multi with *instance=0.

The existing implementation worked only because *instance was initialized
with -1 in most cases.
2016-04-19 11:12:35 +02:00
2016-04-18 23:40:56 +02:00
2016-04-19 11:12:15 +02:00
2016-04-17 21:33:04 +02:00
2016-04-17 16:02:28 -04:00
2016-04-18 22:53:08 +02:00
2016-04-17 18:53:50 +02:00
2016-03-27 12:10:57 +02:00
2016-04-17 20:41:48 -04:00
2014-03-22 13:32:33 -04:00
2016-04-17 16:02:28 -04:00
2015-06-12 08:30:50 +01:00
2015-07-13 14:52:39 -07:00
2016-03-25 16:07:25 +01:00
2016-01-01 21:21:49 +01:00

PX4 Pro Drone Autopilot

Build Status Coverity Scan

Gitter

This repository holds the PX4 Pro flight control solution for drones, with the main applications located in the src/modules directory. It also contains the PX4 Drone Middleware Platform, which provides drivers and middleware to run drones.

Users

Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.

Developers

This repository contains code supporting these boards:

Description
a mirror of official PX4-Autopilot
Readme BSD-3-Clause 587 MiB
Languages
C++ 51.2%
C 38.5%
CMake 4.7%
Python 3.9%
Shell 1.3%
Other 0.1%