mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +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
|
else
|
||||||
{
|
{
|
||||||
#if _DEBUG // for scope: pulse pin as overflow indictator
|
|
||||||
DebugPulse(_DEBUG_PIN1, 1);
|
DebugPulse(_DEBUG_PIN1, 1);
|
||||||
#endif
|
|
||||||
_buffer_overflow = true;
|
_buffer_overflow = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user