Revert "refactor(config): IR_ResponseDelay перенесён в IR_config.h"

This reverts commit b375aa169e.
This commit is contained in:
2026-09-08 14:13:14 +03:00
parent b375aa169e
commit 5b220dadd8
2 changed files with 1 additions and 3 deletions

View File

@ -25,6 +25,7 @@ class Print;
#define riseTimeMin (riseTime - riseTolerance)
#define aroundRise(t) (riseTimeMin < t && t < riseTimeMax)
#define IR_timeout (riseTimeMax * (8 + syncBits + 1)) // us // таймаут в 8 data + 3 sync + 1
constexpr uint16_t IR_ResponseDelay = ((uint16_t)(((bitTime+riseTolerance) * (8 + syncBits + 1))*2.7735))/1000;
class IR_Encoder;
class IR_DecoderRaw : virtual public IR_FOX