modules remove extra semicolons

This commit is contained in:
Daniel Agar
2017-06-04 12:48:50 -04:00
committed by Nuno Marques
parent 08fbd022af
commit 545ce9ae24
18 changed files with 48 additions and 46 deletions
+5 -5
View File
@@ -165,7 +165,7 @@ public:
* @param control_cb Callback invoked when reading controls.
*/
Mixer(ControlCallback control_cb, uintptr_t cb_handle);
virtual ~Mixer() {};
virtual ~Mixer() {}
/**
* Perform the mixing function.
@@ -197,7 +197,7 @@ public:
* @param[in] delta_out_max Maximum delta output.
*
*/
virtual void set_max_delta_out_once(float delta_out_max) {};
virtual void set_max_delta_out_once(float delta_out_max) {}
/**
* @brief Set trim offset for this mixer
@@ -211,7 +211,7 @@ public:
*
* @param[in] val The value
*/
virtual void set_thrust_factor(float val) {};
virtual void set_thrust_factor(float val) {}
protected:
/** client-supplied callback used when fetching control values */
@@ -408,7 +408,7 @@ class __EXPORT NullMixer : public Mixer
{
public:
NullMixer();
~NullMixer() {};
~NullMixer() {}
/**
* Factory method.
@@ -428,7 +428,7 @@ public:
virtual unsigned mix(float *outputs, unsigned space, uint16_t *status_reg);
virtual uint16_t get_saturation_status(void);
virtual void groups_required(uint32_t &groups);
virtual void set_offset(float trim) {};
virtual void set_offset(float trim) {}
unsigned set_trim(float trim)
{
return 0;
+1 -1
View File
@@ -169,7 +169,7 @@ __EXPORT param_t param_for_index(unsigned index);
/**
* Look up an used parameter by index.
*
* @param param The parameter to obtain the index for.
* @param index The parameter to obtain the index for.
* @return The index of the parameter in use, or -1 if the parameter does not exist.
*/
__EXPORT param_t param_for_used_index(unsigned index);