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:
parent
4246ed2f88
commit
8ae6d3184c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue