Use stream buffer for CLI

This commit is contained in:
Raphael Coeffic
2021-11-21 11:18:35 +01:00
committed by Raphael Coeffic
parent ae629c4065
commit b1b3423844
8 changed files with 92 additions and 37 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ void openUsbMenu()
TRACE("USB mass storage");
setSelectedUsbMode(USB_MASS_STORAGE_MODE);
});
#if defined(DEBUG)
#if defined(DEBUG) || defined(CLI)
_usbMenu->addLine(STR_USB_SERIAL, [] {
TRACE("USB serial");
setSelectedUsbMode(USB_SERIAL_MODE);