summaryrefslogtreecommitdiff
path: root/quantum/audio/luts.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-26 04:53:57 +0000
committerQMK Bot <hello@qmk.fm>2020-12-26 04:53:57 +0000
commitffd7e44e5af660fbd131f67ef803ac3aad2123d6 (patch)
tree4a120e1afe711fabccb7d241efc67f5da8a50a89 /quantum/audio/luts.h
parent6c366ccf6a5f88598c115c81845d983eb363b172 (diff)
parent48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/audio/luts.h')
-rw-r--r--quantum/audio/luts.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h
index 6fdd3b4635..74980b292e 100644
--- a/quantum/audio/luts.h
+++ b/quantum/audio/luts.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#if defined(__AVR__)
# include <avr/io.h>
# include <avr/interrupt.h>
@@ -23,14 +25,9 @@
# include <hal.h>
#endif
-#ifndef LUTS_H
-# define LUTS_H
-
-# define VIBRATO_LUT_LENGTH 20
+#define VIBRATO_LUT_LENGTH 20
-# define FREQUENCY_LUT_LENGTH 349
+#define FREQUENCY_LUT_LENGTH 349
extern const float vibrato_lut[VIBRATO_LUT_LENGTH];
extern const uint16_t frequency_lut[FREQUENCY_LUT_LENGTH];
-
-#endif /* LUTS_H */