From 22dc5190d118da4e7771af13335749a61fed1937 Mon Sep 17 00:00:00 2001 From: derskythe Date: Mon, 26 Sep 2022 02:39:17 +0400 Subject: [PATCH] remove furi_hal_power_suppress_charge_enter/exit from other places --- applications/plugins/subbrute/helpers/subbrute_worker.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/applications/plugins/subbrute/helpers/subbrute_worker.c b/applications/plugins/subbrute/helpers/subbrute_worker.c index c77dacfbf..bbfa1c32d 100644 --- a/applications/plugins/subbrute/helpers/subbrute_worker.c +++ b/applications/plugins/subbrute/helpers/subbrute_worker.c @@ -63,8 +63,6 @@ int32_t subbrute_worker_thread(void* context) { furi_hal_gpio_init(&gpio_cc1101_g0, GpioModeOutputPushPull, GpioPullNo, GpioSpeedLow); furi_hal_gpio_write(&gpio_cc1101_g0, true); - furi_hal_power_suppress_charge_enter(); - // Set ready to transmit value instance->last_time_tx_data = furi_get_tick() - SUBBRUTE_SEND_DELAY; @@ -80,8 +78,6 @@ int32_t subbrute_worker_thread(void* context) { furi_hal_subghz_set_path(FuriHalSubGhzPathIsolate); furi_hal_subghz_sleep(); - furi_hal_power_suppress_charge_exit(); - subghz_transmitter_free(instance->transmitter); instance->transmitter = NULL; subghz_environment_free(instance->environment);