mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 04:08: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
|
// TODO: Allow GapPairingNone with BT Remember ON
|
||||||
if(app->bt_remember) {
|
if(app->bt_remember) {
|
||||||
app->cur_ble_cfg.pairing = GapPairingPinCodeVerifyYesNo;
|
app->cur_ble_cfg.pairing = GapPairingPinCodeVerifyYesNo;
|
||||||
|
memcpy(app->cur_ble_cfg.mac, BAD_KB_BOUND_MAC, sizeof(BAD_KB_BOUND_MAC));
|
||||||
} else {
|
} else {
|
||||||
app->cur_ble_cfg.pairing = GapPairingNone;
|
app->cur_ble_cfg.pairing = GapPairingNone;
|
||||||
memcpy(app->cur_ble_cfg.mac, BAD_KB_BOUND_MAC, sizeof(BAD_KB_BOUND_MAC));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set profile
|
// Set profile
|
||||||
|
|||||||
Reference in New Issue
Block a user