Skip to content

Commit

Permalink
ifdef fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Aug 10, 2024
1 parent 7d3589d commit 9dc90e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions helpers/subbrute_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion subbrute_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9dc90e6

Please sign in to comment.