فهرست منبع

Merge pull request #2 from jamisonderek/jamisonderek/nosavewifi

Don't log counter or save wifi on start
JBlanked 1 سال پیش
والد
کامیت
fb5bf44dfc
1فایلهای تغییر یافته به همراه0 افزوده شده و 8 حذف شده
  1. 0 8
      app.c

+ 0 - 8
app.c

@@ -30,7 +30,6 @@ int32_t flip_library_app(void *p)
             furi_delay_ms(100);
         }
 
-        FURI_LOG_E(TAG, "Counter: %d", counter);
         if(counter == 0) {
             DialogsApp* dialogs = furi_record_open(RECORD_DIALOGS);
             DialogMessage* message = dialog_message_alloc();
@@ -47,13 +46,6 @@ int32_t flip_library_app(void *p)
             dialog_message_free(message);
             furi_record_close(RECORD_DIALOGS);
         }
-
-        // Switch to application wifi settings
-        if(!flipper_http_save_wifi(
-               app_instance->uart_text_input_buffer_ssid,
-               app_instance->uart_text_input_buffer_password)) {
-            FURI_LOG_E(TAG, "Failed to save wifi settings");
-        }
     }
 
     // Run the view dispatcher