Remove unneeded #ifdef in SoftwareSerial

The debugPulse function definition already checks for _DEBUG, resulting
in an empty function definiton and the function call being optimized
away.
This commit is contained in:
Matthijs Kooijman 2014-12-08 09:27:41 +01:00
parent 0a6072dccb
commit 827c349a17
1 changed files with 0 additions and 2 deletions

View File

@ -175,9 +175,7 @@ void SoftwareSerial::recv()
}
else
{
#if _DEBUG // for scope: pulse pin as overflow indictator
DebugPulse(_DEBUG_PIN1, 1);
#endif
_buffer_overflow = true;
}