From 48f4768d33313e6a6ed48c31f95eb44feda10a51 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 26 Dec 2020 15:53:12 +1100 Subject: Change include guards in quantum/ to pragma once (#11239) --- quantum/audio/luts.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'quantum/audio/luts.h') 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 . */ +#pragma once + #if defined(__AVR__) # include # include @@ -23,14 +25,9 @@ # include #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 */ -- cgit v1.2.3