Fixed name size and added blank function to clear rx buffer
This commit is contained in:
parent
ded6dc5977
commit
8842968a22
@ -21,3 +21,8 @@ const char* InverterAbstract::name()
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
|
||||
void InverterAbstract::clearRxFragmentBuffer()
|
||||
{
|
||||
|
||||
}
|
||||
@ -4,7 +4,7 @@
|
||||
#include <Arduino.h>
|
||||
#include <cstdint>
|
||||
|
||||
#define MAX_NAME_LENGTH 16
|
||||
#define MAX_NAME_LENGTH 32
|
||||
|
||||
// units
|
||||
enum { UNIT_V = 0,
|
||||
@ -68,6 +68,7 @@ public:
|
||||
const char* name();
|
||||
virtual String typeName() = 0;
|
||||
virtual const byteAssign_t* getByteAssignment() = 0;
|
||||
void clearRxFragmentBuffer();
|
||||
|
||||
private:
|
||||
serial_u _serial;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user