summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards/lfk78/lfk78.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-07 17:06:14 +0000
committerQMK Bot <hello@qmk.fm>2022-03-07 17:06:14 +0000
commite41d67b42866f773ee067984bb91be8965ba760a (patch)
treed0e452475600a2907a7b27ab574494e18cae2368 /keyboards/lfkeyboards/lfk78/lfk78.c
parent2bface8f893f3f13ddb9a3e10c0f362819d09c5c (diff)
parent2ff646c642152df064da8dcf62ef328585de0197 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/lfkeyboards/lfk78/lfk78.c')
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index 2f8f1b34ef..96fe96f03f 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -110,7 +110,7 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
-void click(uint16_t freq, uint16_t duration) {
+void clicking_notes(uint16_t freq, uint16_t duration) {
#ifdef AUDIO_ENABLE
if (freq >= 100 && freq <= 20000 && duration < 100) {
play_note(freq, 10);
@@ -124,7 +124,7 @@ void click(uint16_t freq, uint16_t duration) {
bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
if (click_toggle && record->event.pressed) {
- click(click_hz, click_time);
+ clicking_notes(click_hz, click_time);
}
if (keycode == RESET) {