mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 06:23:07 +01:00
allow a counter for user tasks, reorganize generated config handling
This commit is contained in:
@@ -322,6 +322,11 @@ void GwChannelList::fillStatus(GwApi::Status &status){
|
||||
status.serRx=channel->countRx();
|
||||
status.serTx=channel->countTx();
|
||||
}
|
||||
channel=getChannelById(SERIAL2_CHANNEL_ID);
|
||||
if (channel){
|
||||
status.ser2Rx=channel->countRx();
|
||||
status.ser2Tx=channel->countTx();
|
||||
}
|
||||
channel=getChannelById(MIN_TCP_CHANNEL_ID);
|
||||
if (channel){
|
||||
status.tcpSerRx=channel->countRx();
|
||||
|
||||
Reference in New Issue
Block a user