Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos VodafoneUSBModem mbed
Diff: Console.h
- Revision:
- 5:6841a01b3a69
- Parent:
- 4:6971bded3ebd
- Child:
- 6:93003e18889c
--- a/Console.h Tue Sep 18 09:24:41 2012 +0000
+++ b/Console.h Tue Sep 18 09:42:40 2012 +0000
@@ -1,15 +1,15 @@
#pragma once
#include "mbed.h"
-#define BUFFER_WAIT_TIMEOUT 1000000
+#define BUFFER_WAIT_TIMEOUT_MS 2000
class Console {
private:
int _currentLine;
int _usedLines;
- int _bufferWaitTimeout;
- char **_lines;
+ long _bufferWaitTimeout_ms;
+ char **_lines; //< Command history
int _linePos;
int _prevLinePos;

