mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 22:23:34 +08:00
libtunes: addressing comments of #9117
This commit is contained in:
committed by
Beat Küng
parent
6e1c495268
commit
9d3dfb7864
@@ -89,7 +89,6 @@ int Tunes::set_control(const tune_control_s &tune_control)
|
||||
{
|
||||
// Sanity check
|
||||
if (tune_control.tune_id >= _default_tunes_size) {
|
||||
PX4_WARN("Tune ID not recognized.");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,9 +73,6 @@ public:
|
||||
*/
|
||||
Tunes(unsigned default_tempo, unsigned default_octave, unsigned default_note_length, NoteMode default_mode);
|
||||
|
||||
/**
|
||||
* Default destructor
|
||||
*/
|
||||
~Tunes() = default;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user