aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/Console.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Bridge/Console.h')
-rw-r--r--libraries/Bridge/Console.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/Bridge/Console.h b/libraries/Bridge/Console.h
index 72a3967..73a9739 100644
--- a/libraries/Bridge/Console.h
+++ b/libraries/Bridge/Console.h
@@ -32,7 +32,8 @@ public:
void begin();
void end();
- void setBuffer(uint8_t size);
+ void buffer(uint8_t size);
+ void noBuffer();
bool connected();
@@ -52,10 +53,10 @@ private:
BridgeClass &bridge;
void doBuffer();
- uint8_t buffered;
- uint8_t readPos;
+ uint8_t inBuffered;
+ uint8_t inReadPos;
static const int BUFFER_SIZE = 32;
- uint8_t *buffer;
+ uint8_t *inBuffer;
bool autoFlush;
uint8_t outBuffered;