minor comment change

This commit is contained in:
proddy
2018-12-01 09:48:36 +01:00
parent de2e6d4a0f
commit 7957f781b2

View File

@@ -110,8 +110,8 @@ void ICACHE_FLASH_ATTR emsuart_init() {
USC0(EMSUART_UART) &= ~(tmp); // clear bits USC0(EMSUART_UART) &= ~(tmp); // clear bits
// conf 1 params // conf 1 params
// UCTOE = RX TimeOut enable (1) // UCTOE = RX TimeOut enable (default is 1)
// UCTOT = RX TimeOut Threshold (7bit) = want this when no more data after 2 characters. (default was 2) // UCTOT = RX TimeOut Threshold (7bit) = want this when no more data after 2 characters. (default is 2)
// UCFFT = RX FIFO Full Threshold (7 bit) = want this to be 31 for 32 bytes of buffer. (default was 127). // UCFFT = RX FIFO Full Threshold (7 bit) = want this to be 31 for 32 bytes of buffer. (default was 127).
USC1(EMSUART_UART) = 0; // reset config first USC1(EMSUART_UART) = 0; // reset config first
USC1(EMSUART_UART) = (31 << UCFFT) | (0x02 << UCTOT) | (1 << UCTOE); // enable interupts USC1(EMSUART_UART) = (31 << UCFFT) | (0x02 << UCTOT) | (1 << UCTOE); // enable interupts