typo, EMSUART_TX_TIMEOUT should be 32*8

This commit is contained in:
proddy
2020-06-18 12:27:56 +02:00
parent ee13a02409
commit 2cde691f08
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
#define EMS_TXMODE_DEFAULT 1
#define EMS_TXMODE_EMSPLUS 2
#define EMS_TXMODE_HT3 3
#define EMS_TXMODE_NEW 4 // for michael's testing
#define EMS_TXMODE_NEW 4 // for michael's testingc
// LEGACY
#define EMSUART_TX_BIT_TIME 104 // bit time @9600 baud
@@ -46,7 +46,7 @@
// EMS 1.0
#define EMSUART_TX_BUSY_WAIT (EMSUART_TX_BIT_TIME / 8) // 13
// #define EMSUART_TX_TIMEOUT (22 * EMSUART_TX_BIT_TIME / EMSUART_TX_BUSY_WAIT) // 176
#define EMSUART_TX_TIMEOUT (42 * 8) // 256 for tx_mode 1
#define EMSUART_TX_TIMEOUT (32 * 8) // 256 for tx_mode 1 - see https://github.com/proddy/EMS-ESP/issues/398#issuecomment-645886277
// HT3/Junkers - Time to send one Byte (8 Bits, 1 Start Bit, 1 Stop Bit) plus 7 bit delay. The -8 is for lag compensation.
// since we use a faster processor the lag is negligible

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "2.0.0a22"
#define EMSESP_APP_VERSION "2.0.0a23"