Initialise buffer variables in test framework
This commit is contained in:
parent
bef5814858
commit
dddfffbe0c
@ -2,9 +2,13 @@
|
||||
#include "Arduino.h"
|
||||
|
||||
Buffer::Buffer() {
|
||||
this->pos = 0;
|
||||
this->length = 0;
|
||||
}
|
||||
|
||||
Buffer::Buffer(uint8_t* buf, size_t size) {
|
||||
this->pos = 0;
|
||||
this->length = 0;
|
||||
this->add(buf,size);
|
||||
}
|
||||
bool Buffer::available() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user