summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards/lfk78/lfk78.c
diff options
context:
space:
mode:
authorMatthew Bautista <nayoshi12gaming@gmail.com>2022-03-07 12:05:41 -0500
committerGitHub <noreply@github.com>2022-03-07 09:05:41 -0800
commit2ff646c642152df064da8dcf62ef328585de0197 (patch)
tree257b6f88ce7569ae45f2440fc62460798cba4a88 /keyboards/lfkeyboards/lfk78/lfk78.c
parentd953aa730e38d94b9218948ddaa0deea667f85f3 (diff)
[Keyboard] LFK78 VIA support and Update (#16502)
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) {