Quiet USB packet logs for five minutes after console commands
This commit is contained in:
1 parent
3ec3a07236
commit
b3df8bfd3f
23 files changed
+347
-31
No files matched your search
@@ -66,7 +66,7 @@ struct Port : Stream {
|
||||
|
||||
namespace mesh {
|
||||
bool logging_enabled = true;
|
||||
bool isUsbLoggingEnabled() { return logging_enabled; }
|
||||
bool isUsbPacketLoggingAllowed() { return logging_enabled; }
|
||||
Stream& usbLoggingPort() { return log_port; }
|
||||
void Utils::toHex(char* destination, const uint8_t* source, size_t size) {
|
||||
const char* digits = "0123456789ABCDEF";
|
||||
|
||||
Reference in new issue
Block a user