refactor(bluetooth): More concise names.

This commit is contained in:
Pete Johanson
2020-09-13 22:20:25 -04:00
parent 652bb6ce05
commit 6c8b0b53f0
3 changed files with 30 additions and 30 deletions

View File

@@ -22,13 +22,13 @@ static int on_keymap_binding_pressed(struct device *dev, u32_t position, u32_t c
{
switch (command)
{
case BT_CLEAR_BONDS_CMD:
case BT_CLR_CMD:
return zmk_ble_clear_bonds();
case BT_PROF_NEXT_CMD:
case BT_NXT_CMD:
return zmk_ble_prof_next();
case BT_PROF_PREV_CMD:
case BT_PRV_CMD:
return zmk_ble_prof_prev();
case BT_PROF_SEL_CMD:
case BT_SEL_CMD:
return zmk_ble_prof_select(arg);
default:
LOG_ERR("Unknown BT command: %d", command);