forked from mirrors/qmk_userspace
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
This commit is contained in:
parent
48f4768d33
commit
1d1d5da43f
60 changed files with 96 additions and 258 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue