mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-06-28 05:09:40 +00:00
add acceptDelay change
This commit is contained in:
@ -8,7 +8,7 @@ class IR_Decoder : public IR_DecoderRaw {
|
||||
bool isWaitingAcceptSend;
|
||||
uint16_t addrAcceptSendTo;
|
||||
|
||||
|
||||
uint16_t acceptDelay = 75;
|
||||
|
||||
public:
|
||||
|
||||
@ -56,4 +56,11 @@ public:
|
||||
isWaitingAcceptSend = false;
|
||||
}
|
||||
}
|
||||
|
||||
void setAcceptDelay(uint16_t acceptDelay){
|
||||
this->acceptDelay = acceptDelay;
|
||||
}
|
||||
uint16_t getAcceptDelay(){
|
||||
return this->acceptDelay;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user