summaryrefslogtreecommitdiff
path: root/quantum/audio/audio.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:53:12 +1100
committerDrashna Jael're <drashna@live.com>2021-01-12 22:46:10 -0800
commit3635973fd58ffc718805c1e85fa1be9bca4cfffd (patch)
tree972344ccab7620b0520f0d6c0a80a29db97a244a /quantum/audio/audio.h
parentedc6a30ccc2c34cb2076b0c3bfc2019eee8ab984 (diff)
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/audio/audio.h')
-rw-r--r--quantum/audio/audio.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h
index 805cb4f7ab..bc00cd19e6 100644
--- a/quantum/audio/audio.h
+++ b/quantum/audio/audio.h
@@ -13,8 +13,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef AUDIO_H
-#define AUDIO_H
+
+#pragma once
#include <stdint.h>
#include <stdbool.h>
@@ -103,5 +103,3 @@ void play_notes(float (*np)[][2], uint16_t n_count, bool n_repeat);
#define PLAY_LOOP(note_array) play_notes(&note_array, NOTE_ARRAY_SIZE((note_array)), true)
bool is_playing_notes(void);
-
-#endif