New serial protobuf transport approximately works and is backward

compatiable with the text debug output.
This commit is contained in:
geeksville
2020-04-27 09:36:39 -07:00
parent e5d2d24e2c
commit cceecf5f8e
7 changed files with 84 additions and 17 deletions

View File

@@ -59,4 +59,8 @@ class StreamAPI : public PhoneAPI
* call getFromRadio() and deliver encapsulated packets to the Stream
*/
void writeStream();
protected:
/// Are we allowed to write packets to our output stream (subclasses can turn this off - i.e. SerialConsole)
bool canWrite = true;
};