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

This commit is contained in:
Ryan 2020-12-26 15:56:11 +11:00 committed by GitHub
parent 48f4768d33
commit 1d1d5da43f
Failed to generate hash of commit
60 changed files with 96 additions and 258 deletions

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 */