mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 03:03:33 +08:00
astyle src/modules/systemlib
This commit is contained in:
committed by
Lorenz Meier
parent
b1b951aace
commit
0bc3c8dfc4
@@ -938,7 +938,7 @@ int parameter_flashfs_alloc(flash_file_token_t token, uint8_t **buffer, size_t *
|
|||||||
/* We have a buffer reserve space and init it */
|
/* We have a buffer reserve space and init it */
|
||||||
*buffer = &working_buffer[sizeof(flash_entry_header_t)];
|
*buffer = &working_buffer[sizeof(flash_entry_header_t)];
|
||||||
*buf_size = working_buffer_size - sizeof(flash_entry_header_t);
|
*buf_size = working_buffer_size - sizeof(flash_entry_header_t);
|
||||||
memset(working_buffer, 0xff , working_buffer_size);
|
memset(working_buffer, 0xff, working_buffer_size);
|
||||||
rv = 0;
|
rv = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -538,13 +538,13 @@ private:
|
|||||||
typedef unsigned int MultirotorGeometryUnderlyingType;
|
typedef unsigned int MultirotorGeometryUnderlyingType;
|
||||||
enum class MultirotorGeometry : MultirotorGeometryUnderlyingType;
|
enum class MultirotorGeometry : MultirotorGeometryUnderlyingType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Multi-rotor mixer for pre-defined vehicle geometries.
|
* Multi-rotor mixer for pre-defined vehicle geometries.
|
||||||
*
|
*
|
||||||
* Collects four inputs (roll, pitch, yaw, thrust) and mixes them to
|
* Collects four inputs (roll, pitch, yaw, thrust) and mixes them to
|
||||||
* a set of outputs based on the configured geometry.
|
* a set of outputs based on the configured geometry.
|
||||||
*/
|
*/
|
||||||
class __EXPORT MultirotorMixer : public Mixer
|
class __EXPORT MultirotorMixer : public Mixer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user