forked from mirrors/qmk_userspace
Fix LAYER_STATE_8BIT compile issues (#7304)
This commit is contained in:
parent
2075370633
commit
c1970e284d
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#if defined(LAYER_STATE_8BIT)
|
||||
typedef uint8_t layer_state_t;
|
||||
# define get_highest_layer(state) biton8(state)
|
||||
# define get_highest_layer(state) biton(state)
|
||||
#elif defined(LAYER_STATE_16BIT)
|
||||
typedef uint16_t layer_state_t;
|
||||
# define get_highest_layer(state) biton16(state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue