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:
parent
ead2881b1c
commit
9cf3740a03
@ -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…
x
Reference in New Issue
Block a user