mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 06:38:35 -07:00
BadKB: Fix mac address for remember on/off
This commit is contained in:
@@ -155,9 +155,9 @@ int32_t bad_kb_conn_apply(BadKbApp* app) {
|
||||
// TODO: Allow GapPairingNone with BT Remember ON
|
||||
if(app->bt_remember) {
|
||||
app->cur_ble_cfg.pairing = GapPairingPinCodeVerifyYesNo;
|
||||
memcpy(app->cur_ble_cfg.mac, BAD_KB_BOUND_MAC, sizeof(BAD_KB_BOUND_MAC));
|
||||
} else {
|
||||
app->cur_ble_cfg.pairing = GapPairingNone;
|
||||
memcpy(app->cur_ble_cfg.mac, BAD_KB_BOUND_MAC, sizeof(BAD_KB_BOUND_MAC));
|
||||
}
|
||||
|
||||
// Set profile
|
||||
|
||||
Reference in New Issue
Block a user