diff options
author | Nick <nick.win999@gmail.com> | 2020-08-02 15:01:32 -0500 |
---|---|---|
committer | Nick <nick.win999@gmail.com> | 2020-08-02 15:01:32 -0500 |
commit | 880c6e0601b6313e26bc73e913843805666f4cf3 (patch) | |
tree | 6f9235825e22fba1a2d0b4c40b964f2bcc97e1fd /app/src | |
parent | f26bd495ea0dad0a9b610752555ce428197e9cc8 (diff) |
Fix variable name in peripheral PHY update
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/ble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/ble.c b/app/src/ble.c index 2afc983..3a7755f 100644 --- a/app/src/ble.c +++ b/app/src/ble.c @@ -40,7 +40,7 @@ static void connected(struct bt_conn *conn, u8_t err) bt_conn_le_param_update(conn, BT_LE_CONN_PARAM(0x0006, 0x000c, 30, 400)); #if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) - bt_conn_le_phy_update(default_conn, BT_CONN_LE_PHY_PARAM_2M); + bt_conn_le_phy_update(conn, BT_CONN_LE_PHY_PARAM_2M); #endif if (bt_conn_set_security(conn, BT_SECURITY_L2)) |