Browse Source

Fix local reference (#487)

softuart
Xose Pérez 6 years ago
parent
commit
fd148e277b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/libs/StreamInjector.h

+ 1
- 1
code/espurna/libs/StreamInjector.h View File

@ -13,7 +13,7 @@ class StreamInjector : public Stream {
typedef std::function<void(uint8_t ch)> writeCallback;
StreamInjector(Stream& serial, size_t buflen = 128) : _stream(serial), _buffer_size(buflen) {
char * _buffer = new char[buflen];
_buffer = new char[buflen];
}
~StreamInjector() {


Loading…
Cancel
Save