mirror of
https://github.com/anklimov/lighthub
synced 2026-01-30 18:19:06 +03:00
UART interceptor now is compatible with Whireshark
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
// Configuration of drivers enabled
|
||||
#define SYSLOG_LOCAL_SOCKET 514
|
||||
|
||||
#ifndef MODBUS_UART_RX_PIN
|
||||
#define MODBUS_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef MODBUS_UART_TX_PIN
|
||||
#define MODBUS_TX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef FASTLED
|
||||
#define ADAFRUIT_LED
|
||||
#endif
|
||||
@@ -194,7 +202,6 @@
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
#undef _dmxin
|
||||
//#undef _modbus
|
||||
|
||||
#ifndef DMX_DISABLE
|
||||
#define _espdmx
|
||||
@@ -212,13 +219,10 @@
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
#undef _dmxin
|
||||
//#undef _modbus
|
||||
|
||||
#ifndef DMX_DISABLE
|
||||
#define _espdmx
|
||||
#endif
|
||||
//#undef _dmxout
|
||||
//#undef modbusSerial
|
||||
|
||||
#ifndef modbusSerial
|
||||
#define modbusSerial Serial2
|
||||
#endif
|
||||
@@ -227,15 +231,6 @@
|
||||
#define AC_Serial Serial2
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef MODBUS_UART_RX_PIN
|
||||
#define MODBUS_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef MODBUS_UART_TX_PIN
|
||||
#define MODBUS_TX_PIN -1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _dmxout
|
||||
|
||||
Reference in New Issue
Block a user