ntrip client safe without wlan
This commit is contained in:
+7
-1
@@ -206,9 +206,10 @@ void callbackControllerConnect() {
|
||||
// because after the setup the other core control the display.
|
||||
if (firstConnect) {
|
||||
lcd->init();
|
||||
main_m->printMenu();
|
||||
firstConnect = false;
|
||||
}
|
||||
|
||||
main_m->printMenu();
|
||||
}
|
||||
|
||||
void callbackControllerDisconnect() {
|
||||
@@ -261,6 +262,11 @@ void makeMenu() {
|
||||
|
||||
auto disconnectController = [&]() {
|
||||
disconnectPs3 = true;
|
||||
lcd->clear();
|
||||
lcd->setCursor(0, 0);
|
||||
lcd->print("Controller is");
|
||||
lcd->setCursor(0, 1);
|
||||
lcd->print("disconnected.");
|
||||
};
|
||||
|
||||
// Create Menu
|
||||
|
||||
Reference in New Issue
Block a user