Increased max line length to avoid wrong CRC fixes #8
This commit is contained in:
parent
452a57fa77
commit
2b04033dbf
@ -29,7 +29,7 @@ long mGAS = 0; //Meter reading Gas
|
|||||||
long prevGAS = 0;
|
long prevGAS = 0;
|
||||||
|
|
||||||
|
|
||||||
#define MAXLINELENGTH 64 // longest normal line is 47 char (+3 for \r\n\0)
|
#define MAXLINELENGTH 128 // longest normal line is 47 char (+3 for \r\n\0)
|
||||||
char telegram[MAXLINELENGTH];
|
char telegram[MAXLINELENGTH];
|
||||||
|
|
||||||
#define SERIAL_RX D5 // pin for SoftwareSerial RX
|
#define SERIAL_RX D5 // pin for SoftwareSerial RX
|
||||||
|
Loading…
Reference in New Issue
Block a user