1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

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 ead2881b1c
commit 9cf3740a03

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;
}