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:
@@ -11,9 +11,12 @@ template<class T> class GwCounter{
|
||||
unsigned long globalFail=0;
|
||||
String name;
|
||||
public:
|
||||
GwCounter(String name){
|
||||
GwCounter(const String &name){
|
||||
this->name=name;
|
||||
};
|
||||
void setName(const String &name){
|
||||
this->name=name;
|
||||
}
|
||||
void reset(){
|
||||
okCounter.clear();
|
||||
failCounter.clear();
|
||||
|
||||
Reference in New Issue
Block a user