From 0790201af96698c6b3427c6126381323a4650c48 Mon Sep 17 00:00:00 2001 From: Youen Toupin Date: Tue, 11 Aug 2015 20:40:57 +0200 Subject: [PATCH] removed debug code --- OneWireSlave.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/OneWireSlave.cpp b/OneWireSlave.cpp index 916ae28..b58be97 100644 --- a/OneWireSlave.cpp +++ b/OneWireSlave.cpp @@ -90,9 +90,7 @@ void OneWireSlave::begin(byte* rom, byte pinNumber) void OneWireSlave::end() { - #ifdef DEBUG_LOG - debug.append("Disabling 1-wire library"); - #endif + // log("Disabling 1-wire library"); cli(); disableTimer_(); @@ -143,26 +141,14 @@ void OneWireSlave::disableTimer_() void OneWireSlave::onEnterInterrupt_() { - #ifdef DEBUG_LOG - dbgOutput.writeLow(); - #endif } void OneWireSlave::onLeaveInterrupt_() { - #ifdef DEBUG_LOG - dbgOutput.writeHigh(); - #endif } void OneWireSlave::error_(const char* message) { -#ifdef DEBUG_LOG - if (message == 0) - debug.append("unspecified error"); - else - debug.append(message); -#endif beginWaitReset_(); }