Initialise buffer variables in test framework

This commit is contained in:
Nick O'Leary 2017-06-07 21:31:48 +01:00
parent bef5814858
commit dddfffbe0c

View File

@ -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() {