Browse Source

astyle src/modules/systemlib

sbg
Daniel Agar 8 years ago committed by Lorenz Meier
parent
commit
0bc3c8dfc4
  1. 2
      src/modules/systemlib/flashparams/flashfs.c
  2. 14
      src/modules/systemlib/mixer/mixer.h

2
src/modules/systemlib/flashparams/flashfs.c

@ -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;
} }

14
src/modules/systemlib/mixer/mixer.h

@ -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:
/** /**

Loading…
Cancel
Save