SpenserCai 10 месяцев назад
Родитель
Сommit
288a3e1616
3 измененных файлов с 9 добавлено и 9 удалено
  1. BIN
      .DS_Store
  2. 8 8
      helpers/subbrute_worker.c
  3. 1 1
      helpers/subbrute_worker.h

+ 8 - 8
helpers/subbrute_worker.c

@@ -82,17 +82,17 @@ bool subbrute_worker_set_step(SubBruteWorker* instance, uint64_t step) {
     return true;
 }
 
-bool subbrute_worker_set_opencode(SubBruteWorker* instance, uint8_t opencode) {
-    furi_assert(instance);
-    if(!subbrute_worker_can_manual_transmit(instance)) {
-        FURI_LOG_W(TAG, "Cannot set opencode during running mode");
-
-        return false;
-    }
+void subbrute_worker_set_opencode(SubBruteWorker* instance, uint8_t opencode) {
+    // furi_assert(instance);
+    // if(!subbrute_worker_can_manual_transmit(instance)) {
+    //     FURI_LOG_W(TAG, "Cannot set opencode during running mode");
+    //
+    //     return false;
+    // }
 
     instance->opencode = opencode;
 
-    return true;
+    // return true;
 }
 
 uint8_t subbrute_worker_get_opencode(SubBruteWorker* instance) {

+ 1 - 1
helpers/subbrute_worker.h

@@ -276,7 +276,7 @@ void subbrute_worker_set_te(SubBruteWorker* instance, uint32_t te);
   */
 bool subbrute_worker_is_tx_allowed(SubBruteWorker* instance, uint32_t value);
 
-bool subbrute_worker_set_opencode(SubBruteWorker* instance, uint8_t opencode);
+void subbrute_worker_set_opencode(SubBruteWorker* instance, uint8_t opencode);
 
 uint8_t subbrute_worker_get_opencode(SubBruteWorker* instance);