mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-05-04 15:20:16 +00:00
Update IR_DecoderRaw.cpp
This commit is contained in:
parent
e6dbdcee74
commit
341ff3a470
@ -47,7 +47,7 @@ volatile uint32_t time_;
|
|||||||
|
|
||||||
void IR_DecoderRaw::isr()
|
void IR_DecoderRaw::isr()
|
||||||
{
|
{
|
||||||
|
// Serial.print("ISR\n");
|
||||||
if(isPairSending){
|
if(isPairSending){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -58,7 +58,8 @@ void IR_DecoderRaw::isr()
|
|||||||
interrupts();
|
interrupts();
|
||||||
if (time_ < oldTime)
|
if (time_ < oldTime)
|
||||||
{
|
{
|
||||||
#ifdef IRDEBUG/* 1 */
|
|
||||||
|
#ifdef IRDEBUG
|
||||||
Serial.print("\n");
|
Serial.print("\n");
|
||||||
Serial.print("count: ");
|
Serial.print("count: ");
|
||||||
Serial.println(wrongCounter++);
|
Serial.println(wrongCounter++);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user