SpenserCai 10 mesi fa
parent
commit
5bfb55ef51

+ 1 - 1
scenes/subbrute_scene_run_attack.c

@@ -27,7 +27,7 @@ static void
 void subbrute_scene_run_attack_on_exit(void* context) {
 void subbrute_scene_run_attack_on_exit(void* context) {
     furi_assert(context);
     furi_assert(context);
     SubBruteState* instance = (SubBruteState*)context;
     SubBruteState* instance = (SubBruteState*)context;
-    FURI_LOG_W(TAG, "subbrute_scene_run_attack_on_exit");
+    // FURI_LOG_W(TAG, "subbrute_scene_run_attack_on_exit");
     notification_message(instance->notifications, &sequence_blink_stop);
     notification_message(instance->notifications, &sequence_blink_stop);
     subbrute_worker_stop(instance->worker);
     subbrute_worker_stop(instance->worker);
 }
 }

+ 3 - 3
scenes/subbrute_scene_setup_attack.c

@@ -55,9 +55,9 @@ void subbrute_scene_setup_attack_on_enter(void* context) {
 
 
 void subbrute_scene_setup_attack_on_exit(void* context) {
 void subbrute_scene_setup_attack_on_exit(void* context) {
     furi_assert(context);
     furi_assert(context);
-    // #ifdef FURI_DEBUG
-    FURI_LOG_W(TAG, "subbrute_scene_setup_attack_on_exit");
-    // #endif
+#ifdef FURI_DEBUG
+    FURI_LOG_D(TAG, "subbrute_scene_setup_attack_on_exit");
+#endif
     SubBruteState* instance = (SubBruteState*)context;
     SubBruteState* instance = (SubBruteState*)context;
     subbrute_worker_stop(instance->worker);
     subbrute_worker_stop(instance->worker);
     notification_message(instance->notifications, &sequence_blink_stop);
     notification_message(instance->notifications, &sequence_blink_stop);

+ 4 - 4
subbrute_device.c

@@ -82,10 +82,10 @@ uint64_t subbrute_device_add_step(SubBruteDevice* instance, int8_t step) {
 bool subbrute_device_save_file(SubBruteDevice* instance, const char* dev_file_name) {
 bool subbrute_device_save_file(SubBruteDevice* instance, const char* dev_file_name) {
     furi_assert(instance);
     furi_assert(instance);
 
 
-    // #ifdef FURI_DEBUG
-    FURI_LOG_W(TAG, "subbrute_device_save_file: %s", dev_file_name);
-    FURI_LOG_W(TAG, "opencode: %d", instance->opencode);
-    // #endif
+#ifdef FURI_DEBUG
+    FURI_LOG_D(TAG, "subbrute_device_save_file: %s", dev_file_name);
+    FURI_LOG_D(TAG, "opencode: %d", instance->opencode);
+#endif
 
 
     Storage* storage = furi_record_open(RECORD_STORAGE);
     Storage* storage = furi_record_open(RECORD_STORAGE);
     FlipperFormat* file = flipper_format_file_alloc(storage);
     FlipperFormat* file = flipper_format_file_alloc(storage);

+ 1 - 1
subbrute_protocols.c

@@ -824,7 +824,7 @@ void subbrute_protocol_default_payload(
     subbrute_protocol_create_candidate_for_default(candidate, file, step, opencode);
     subbrute_protocol_create_candidate_for_default(candidate, file, step, opencode);
 
 
 #ifdef FURI_DEBUG
 #ifdef FURI_DEBUG
-    FURI_LOG_W(
+    FURI_LOG_D(
         TAG,
         TAG,
         "candidate: %s, step: %lld, repeat: %d, te: %s",
         "candidate: %s, step: %lld, repeat: %d, te: %s",
         furi_string_get_cstr(candidate),
         furi_string_get_cstr(candidate),