diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:53:12 +1100 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:46:10 -0800 |
commit | 3635973fd58ffc718805c1e85fa1be9bca4cfffd (patch) | |
tree | 972344ccab7620b0520f0d6c0a80a29db97a244a /quantum/audio/luts.h | |
parent | edc6a30ccc2c34cb2076b0c3bfc2019eee8ab984 (diff) |
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 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 */ |