Change include guards in tmk_core/ and drivers/ to pragma once (#11240)

This commit is contained in:
Ryan authored and GitHub committed 2020-12-26 15:56:11 +11:00
1 parent 48f4768d33
commit 1d1d5da43f
60 files changed
+96 -258

No files matched your search

+2 -4
View File
@@ -1,5 +1,5 @@
#ifndef RING_BUFFER_H
#define RING_BUFFER_H
#pragma once
/*--------------------------------------------------------------------
* Ring buffer to store scan codes from keyboard
*------------------------------------------------------------------*/
@@ -43,5 +43,3 @@ static inline bool rbuf_has_data(void) {
static inline void rbuf_clear(void) {
ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { rbuf_head = rbuf_tail = 0; }
}
#endif /* RING_BUFFER_H */