One wire slave: fix presence timing, disable irq early (#348)

This commit is contained in:
SG
2021-02-18 11:22:13 +10:00
committed by GitHub
parent d2200a00d1
commit da91482b7d
2 changed files with 3 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ public:
constexpr static const OneWiteTimeType RESET_MAX = 960;
constexpr static const OneWiteTimeType PRESENCE_TIMEOUT = 20;
constexpr static const OneWiteTimeType PRESENCE_MIN = 160;
constexpr static const OneWiteTimeType PRESENCE_MIN = 100;
constexpr static const OneWiteTimeType PRESENCE_MAX = 480;
constexpr static const OneWiteTimeType MSG_HIGH_TIMEOUT = 15000;