update
This commit is contained in:
@@ -635,11 +635,14 @@ void loop() {
|
||||
if (liveData->bleConnected) {
|
||||
if (Serial.available()) {
|
||||
ch = Serial.read();
|
||||
line = line + ch;
|
||||
if (ch == '\r' || ch == '\n') {
|
||||
board->customConsoleCommand(line);
|
||||
line = line + ch;
|
||||
Serial.println(line);
|
||||
liveData->pRemoteCharacteristicWrite->writeValue(line.c_str(), line.length());
|
||||
line = "";
|
||||
} else {
|
||||
line = line + ch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user