mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 16:53:34 +08:00
drivers remove device _debug_enabled
This commit is contained in:
@@ -106,8 +106,6 @@ ADCSIM::ADCSIM(uint32_t channels) :
|
||||
_channel_count(0),
|
||||
_samples(nullptr)
|
||||
{
|
||||
//_debug_enabled = true;
|
||||
|
||||
/* always enable the temperature sensor */
|
||||
channels |= 1 << 16;
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ class ToneAlarm : public VirtDevObj
|
||||
{
|
||||
public:
|
||||
ToneAlarm();
|
||||
~ToneAlarm();
|
||||
~ToneAlarm() = default;
|
||||
|
||||
virtual int devIOCTL(unsigned long cmd, unsigned long arg);
|
||||
virtual ssize_t devWrite(const void *buffer, size_t len);
|
||||
@@ -218,8 +218,6 @@ ToneAlarm::ToneAlarm() :
|
||||
_next(nullptr),
|
||||
_note_call{}
|
||||
{
|
||||
// enable debug() calls
|
||||
//_debug_enabled = true;
|
||||
_default_tunes[TONE_STARTUP_TUNE] = "MFT240L8 O4aO5dc O4aO5dc O4aO5dc L16dcdcdcdc"; // startup tune
|
||||
_default_tunes[TONE_ERROR_TUNE] = "MBT200a8a8a8PaaaP"; // ERROR tone
|
||||
_default_tunes[TONE_NOTIFY_POSITIVE_TUNE] = "MFT200e8a8a"; // Notify Positive tone
|
||||
@@ -252,10 +250,6 @@ ToneAlarm::ToneAlarm() :
|
||||
_tune_names[TONE_HOME_SET] = "home_set";
|
||||
}
|
||||
|
||||
ToneAlarm::~ToneAlarm()
|
||||
{
|
||||
}
|
||||
|
||||
unsigned
|
||||
ToneAlarm::note_to_divisor(unsigned note)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user