From c3204783bce8b0d31c7bd51f5ad0ce333ce7b9b4 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 18 Mar 2019 22:32:09 +0100 Subject: [PATCH] cleanup --- src/emsuart.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emsuart.cpp b/src/emsuart.cpp index 7b33507ac..6d5a88241 100644 --- a/src/emsuart.cpp +++ b/src/emsuart.cpp @@ -67,8 +67,8 @@ static void emsuart_rx_intr_handler(void * para) { /* * system task triggered on BRK interrupt - * Read commands are all asynchronous - * When a buffer is full it is sent to the ems_parseTelegram() function in ems.cpp. This is the hook + * incoming received messages are always asynchronous + * The full buffer is sent to the ems_parseTelegram() function in ems.cpp. */ static void ICACHE_FLASH_ATTR emsuart_recvTask(os_event_t * events) { // get next free EMS Receive buffer @@ -144,7 +144,7 @@ void ICACHE_FLASH_ATTR emsuart_init() { void ICACHE_FLASH_ATTR emsuart_stop() { ETS_UART_INTR_DISABLE(); //ETS_UART_INTR_ATTACH(NULL, NULL); - //system_uart_swap(); // to be sure, swap Tx/Rx back. Idea from Simon Arlott + //system_uart_swap(); // to be sure, swap Tx/Rx back. //detachInterrupt(digitalPinToInterrupt(D7)); //noInterrupts(); }