diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:53:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:53:12 +1100 |
commit | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch) | |
tree | 49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/audio/luts.h | |
parent | 53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff) | |
download | qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.tar.gz qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.zip |
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/audio/luts.h')
-rw-r--r-- | quantum/audio/luts.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h index 6fdd3b463..74980b292 100644 --- a/quantum/audio/luts.h +++ b/quantum/audio/luts.h | |||
@@ -14,6 +14,8 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #pragma once | ||
18 | |||
17 | #if defined(__AVR__) | 19 | #if defined(__AVR__) |
18 | # include <avr/io.h> | 20 | # include <avr/io.h> |
19 | # include <avr/interrupt.h> | 21 | # include <avr/interrupt.h> |
@@ -23,14 +25,9 @@ | |||
23 | # include <hal.h> | 25 | # include <hal.h> |
24 | #endif | 26 | #endif |
25 | 27 | ||
26 | #ifndef LUTS_H | 28 | #define VIBRATO_LUT_LENGTH 20 |
27 | # define LUTS_H | ||
28 | |||
29 | # define VIBRATO_LUT_LENGTH 20 | ||
30 | 29 | ||
31 | # define FREQUENCY_LUT_LENGTH 349 | 30 | #define FREQUENCY_LUT_LENGTH 349 |
32 | 31 | ||
33 | extern const float vibrato_lut[VIBRATO_LUT_LENGTH]; | 32 | extern const float vibrato_lut[VIBRATO_LUT_LENGTH]; |
34 | extern const uint16_t frequency_lut[FREQUENCY_LUT_LENGTH]; | 33 | extern const uint16_t frequency_lut[FREQUENCY_LUT_LENGTH]; |
35 | |||
36 | #endif /* LUTS_H */ | ||