]> git.donarmstrong.com Git - qmk_firmware.git/commit
Typedef'ed layer_state_t to uint32_t (#3637)
authorAlex Ong <the.onga@gmail.com>
Fri, 17 May 2019 20:47:50 +0000 (06:47 +1000)
committerDrashna Jaelre <drashna@live.com>
Fri, 17 May 2019 20:47:50 +0000 (13:47 -0700)
commit00d1d7828c63538122d9d3db7336b9a40c9ffe80
treee1d055c72f23bbdc6e30ee7e3eb1213857e2ae33
parent90a45aac6e8fdbf8d781d711bb6a27574130ff38
Typedef'ed layer_state_t to uint32_t (#3637)

* Typedef'ed layer_state_t to uint32_t.

This enables future work with layer_state_t to uint8_t for optimization purposes.

* Removed accidental xeal60 commit

* Revert to egyptian brackets, added sizeof(layer_state_t) so when layer_state_t is redefined it will automagically work.

* Add additional typedefs

* Add checks for setting layer state

* Update tmk_core/common/action_layer.h

Co-Authored-By: alex-ong <the.onga@gmail.com>
* Revert commit.
quantum/quantum.h
tmk_core/common/action.c
tmk_core/common/action_layer.c
tmk_core/common/action_layer.h
tmk_core/common/bootmagic.c
tmk_core/common/magic.c