diff --git a/Readme.md b/Readme.md index fa84e225..d799ec29 100644 --- a/Readme.md +++ b/Readme.md @@ -145,6 +145,9 @@ For details refer to the [example description](lib/exampletask/Readme.md). Changelog --------- +[20220124](../../releases/tag/20220124) +********* +* make the serial input and output working again [20220114](../../releases/tag/20220114) ********* * incorporate some changes from [Homberger](https://github.com/AK-Homberger/NMEA2000-AIS-Gateway) to improve AIS compatibility with Raymarine displays diff --git a/lib/channel/GwChannelList.cpp b/lib/channel/GwChannelList.cpp index 537b629a..635799a1 100644 --- a/lib/channel/GwChannelList.cpp +++ b/lib/channel/GwChannelList.cpp @@ -102,8 +102,8 @@ void GwChannelList::begin(bool fallbackSerial){ theChannels.push_back(channel); //serial 1 - bool serCanRead=false; - bool serCanWrite=false; + bool serCanRead=true; + bool serCanWrite=true; int serialrx=-1; int serialtx=-1; #ifdef GWSERIAL_MODE diff --git a/web/index.js b/web/index.js index 79902413..0e17a386 100644 --- a/web/index.js +++ b/web/index.js @@ -320,8 +320,8 @@ let counters={ countTCPClientout: 'TCPclient out', countUSBin: 'USB in', countUSBout: 'USB out', - countSERIn: 'Serial in', - countSEROut: 'Serial out' + countSERin: 'Serial in', + countSERout: 'Serial out' } function showOverlay(text, isHtml) { let el = document.getElementById('overlayContent');