From 92c83cfb798f6b95e7deaa4cec5f88b29f774203 Mon Sep 17 00:00:00 2001 From: Willy-JL Date: Fri, 3 Feb 2023 22:40:29 +0000 Subject: [PATCH] Fix typo --- applications/main/bad_kb/bad_kb_script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/main/bad_kb/bad_kb_script.c b/applications/main/bad_kb/bad_kb_script.c index cc548ae27..f27e1a268 100644 --- a/applications/main/bad_kb/bad_kb_script.c +++ b/applications/main/bad_kb/bad_kb_script.c @@ -662,7 +662,7 @@ void bad_kb_bt_init(Bt* bt) { bt_set_profile_pairing_method(bt, GapPairingNone); furi_hal_bt_start_advertising(); // disable peer key adding to bt SRAM storage - bt_disable_peer_key_update(bad_usb->bt); + bt_disable_peer_key_update(bt); connection_mode = BadKbConnectionModeBt; } @@ -686,7 +686,7 @@ void bad_kb_bt_deinit(Bt* bt) { bt_set_profile(bt, BtProfileSerial); // starts saving peer keys (bounded devices) - bt_enable_peer_key_update(bad_usb->bt); + bt_enable_peer_key_update(bt); connection_mode = BadKbConnectionModeNone; }