From 9dc90e6a35ded220f18ad111adf5f3435b207b39 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 10 Aug 2024 16:12:00 +0300 Subject: [PATCH] ifdef fixes --- helpers/subbrute_worker.c | 4 ++-- subbrute_device.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/subbrute_worker.c b/helpers/subbrute_worker.c index adb5297..6ca6187 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 c75f065..30dbc45 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;