Skip to content

Commit

Permalink
make the serial input/outout working again, show it's counters correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Jan 24, 2022
1 parent bafac07 commit 799fd49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/channel/GwChannelList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 799fd49

Please sign in to comment.