| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- commit 9dc90e6a35ded220f18ad111adf5f3435b207b39
- Author: MX <10697207+xMasterX@users.noreply.github.com>
- Date: Sat Aug 10 16:12:00 2024 +0300
- ifdef fixes
- diff --git a/helpers/subbrute_worker.c b/helpers/subbrute_worker.c
- index adb5297bf..6ca6187f7 100644
- --- a/helpers/subbrute_worker.c
- +++ b/helpers/subbrute_worker.c
- @@ -236,7 +236,7 @@ bool subbrute_worker_transmit_current_key(SubBruteWorker* instance, uint64_t ste
-
- uint32_t ticks = furi_get_tick();
- if((ticks - instance->last_time_tx_data) < SUBBRUTE_MANUAL_TRANSMIT_INTERVAL) {
- -#if FURI_DEBUG
- +#ifdef FURI_DEBUG
- FURI_LOG_D(TAG, "Need to wait, current: %ld", ticks - instance->last_time_tx_data);
- #endif
- return false;
- @@ -270,7 +270,7 @@ bool subbrute_worker_transmit_current_key(SubBruteWorker* instance, uint64_t ste
- subbrute_worker_subghz_transmit(instance, flipper_format);
-
- result = true;
- -#if FURI_DEBUG
- +#ifdef FURI_DEBUG
- FURI_LOG_D(TAG, "Manual transmit done");
- #endif
-
- diff --git a/subbrute_device.c b/subbrute_device.c
- index c75f06592..30dbc4543 100644
- --- a/subbrute_device.c
- +++ b/subbrute_device.c
- @@ -335,7 +335,7 @@ uint8_t subbrute_device_load_from_file(SubBruteDevice* instance, const char* fil
- for(size_t i = 0; i < sizeof(uint64_t); i++) {
- data = (data << 8) | key_data[i];
- }
- -#if FURI_DEBUG
- +#ifdef FURI_DEBUG
- FURI_LOG_D(TAG, "Key: %.16llX", data);
- #endif
- instance->key_from_file = data;
|