Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgornekich <n.gorbadey@gmail.com>2022-01-21 20:32:03 +0300
committerGitHub <noreply@github.com>2022-01-21 20:32:03 +0300
commit23ff6723cf870b999b75caee06b9f95a34c52534 (patch)
tree1c77c7000ea390bb87960e3dd439fb0d7363d6d0 /applications/subghz/subghz_history.c
parentd4787e859ee0b1992d645b6f57fb145246c94334 (diff)
[FL-2204] Bluetooth forget devices (#967)
* bt: update connection parameters * bt: set correct connection latency and timeout * gui popup: add clean method * furi_hal_bt: add connection parameters request, clear database * bt: add forget bonded devices API * bt_settings: add forget bonded devices GUI * bt: rework pin code show with view port to hide view * bt: support conn parameters for different profiles * furi_hal_bt: sync f6 target * target f6: fix build * bt: format sources * furi_hal_bt: update connection parameters * bt: update connection params, fix GUI * FuriHal: fix spelling * Refactoring: rename _clean to _reset Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/subghz/subghz_history.c')
-rw-r--r--applications/subghz/subghz_history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/subghz/subghz_history.c b/applications/subghz/subghz_history.c
index b9fb90e7..470bcea0 100644
--- a/applications/subghz/subghz_history.c
+++ b/applications/subghz/subghz_history.c
@@ -60,7 +60,7 @@ FuriHalSubGhzPreset subghz_history_get_preset(SubGhzHistory* instance, uint16_t
return instance->history[idx].preset;
}
-void subghz_history_clean(SubGhzHistory* instance) {
+void subghz_history_reset(SubGhzHistory* instance) {
furi_assert(instance);
instance->last_index_write = 0;
instance->code_last_found = 0;
@@ -168,4 +168,4 @@ bool subghz_history_add_to_history(
instance->last_index_write++;
return true;
-} \ No newline at end of file
+}