drivers remove device _debug_enabled

This commit is contained in:
Daniel Agar
2017-09-25 10:30:22 -04:00
parent e5f46856c4
commit 0da2dca8c1
10 changed files with 2 additions and 36 deletions
@@ -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)
{