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
-2
View File
@@ -156,8 +156,6 @@ ADC::ADC(uint32_t channels) :
_to_system_power(nullptr),
_to_adc_report(nullptr)
{
_debug_enabled = true;
/* always enable the temperature sensor */
channels |= 1 << 16;
+1 -7
View File
@@ -296,7 +296,7 @@ class ToneAlarm : public device::CDev
{
public:
ToneAlarm();
~ToneAlarm();
~ToneAlarm() = default;
virtual int init();
@@ -404,8 +404,6 @@ ToneAlarm::ToneAlarm() :
_next(nullptr),
_cbrk(CBRK_OFF)
{
// 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
@@ -439,10 +437,6 @@ ToneAlarm::ToneAlarm() :
_tune_names[TONE_HOME_SET] = "home_set";
}
ToneAlarm::~ToneAlarm()
{
}
int
ToneAlarm::init()
{