mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix to tx_mode
This commit is contained in:
@@ -348,7 +348,7 @@ void showInfo() {
|
||||
if (ems_getTxCapable()) {
|
||||
char valuestr[8] = {0}; // for formatting floats
|
||||
myDebug_P(PSTR(" Tx: Last poll=%s seconds ago, Tx mode=%d, # successful write requests=%d"),
|
||||
_float_to_char(valuestr, (ems_getPollFrequency() / (float)1000000), 3),
|
||||
_float_to_char(valuestr, (ems_getPollFrequency() / (float)1000000), 3), ems_getTxMode(),
|
||||
EMS_Sys_Status.emsTxPkgs);
|
||||
} else {
|
||||
myDebug_P(PSTR(" Tx: no signal"));
|
||||
|
||||
@@ -249,7 +249,6 @@ void ICACHE_FLASH_ATTR emsuart_tx_buffer(uint8_t * buf, uint8_t len) {
|
||||
// wait for echo from busmaster
|
||||
while ((((USS(EMSUART_UART) >> USRXC) & 0xFF) < i || (USIS(EMSUART_UART) & (1 << UIBD)))) {
|
||||
delayMicroseconds(EMSUART_BIT_TIME); // burn CPU cycles...
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
#pragma once
|
||||
|
||||
#define APP_NAME "EMS-ESP"
|
||||
#define APP_VERSION "1.8.0b6"
|
||||
#define APP_VERSION "1.8.0b7"
|
||||
#define APP_HOSTNAME "ems-esp"
|
||||
|
||||
Reference in New Issue
Block a user