summaryrefslogtreecommitdiffstats
path: root/common/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host.c')
-rw-r--r--common/host.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/host.c b/common/host.c
index 261ec6472f..28c8a819fd 100644
--- a/common/host.c
+++ b/common/host.c
@@ -127,14 +127,14 @@ void host_clear_keys(void)
}
}
-void host_add_mod_bit(uint8_t mod)
+void host_add_mods(uint8_t mods)
{
- keyboard_report->mods |= mod;
+ keyboard_report->mods |= mods;
}
-void host_del_mod_bit(uint8_t mod)
+void host_del_mods(uint8_t mods)
{
- keyboard_report->mods &= ~mod;
+ keyboard_report->mods &= ~mods;
}
void host_set_mods(uint8_t mods)