update
This commit is contained in:
@@ -179,7 +179,7 @@ void BoardInterface::loadSettings() {
|
||||
liveData->settings = liveData->tmpSettings;
|
||||
}
|
||||
|
||||
void customConsoleCommand(String cmd);
|
||||
// void customConsoleCommand(String cmd);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ class BoardInterface {
|
||||
void saveSettings();
|
||||
void resetSettings();
|
||||
void loadSettings();
|
||||
void customConsoleCommand(String cmd);
|
||||
// void customConsoleCommand(String cmd);
|
||||
};
|
||||
|
||||
#endif // BOARDINTERFACE_H
|
||||
|
||||
@@ -636,7 +636,7 @@ void loop() {
|
||||
if (Serial.available()) {
|
||||
ch = Serial.read();
|
||||
if (ch == '\r' || ch == '\n') {
|
||||
board->customConsoleCommand(line);
|
||||
//board->customConsoleCommand(line);
|
||||
line = line + ch;
|
||||
Serial.println(line);
|
||||
liveData->pRemoteCharacteristicWrite->writeValue(line.c_str(), line.length());
|
||||
|
||||
Reference in New Issue
Block a user