mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-08 16:44:17 -04:00
[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75 * update uint32_t to layer_state
This commit is contained in:
parent
b84b0b2d72
commit
87b79c34ad
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ void led_set_user(uint8_t usb_led) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//function for layer indicator LED
|
//function for layer indicator LED
|
||||||
uint32_t layer_state_set_user(uint32_t state)
|
layer_state_t layer_state_set_user(layer_state_t state)
|
||||||
{
|
{
|
||||||
if (biton32(state) == 1) {
|
if (biton32(state) == 1) {
|
||||||
writePinHigh(C6);
|
writePinHigh(C6);
|
||||||
|
|
|
@ -111,7 +111,7 @@ void led_set_user(uint8_t usb_led) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//function for layer indicator LED
|
//function for layer indicator LED
|
||||||
uint32_t layer_state_set_user(uint32_t state)
|
layer_state_t layer_state_set_user(layer_state_t state)
|
||||||
{
|
{
|
||||||
if (biton32(state) == 1) {
|
if (biton32(state) == 1) {
|
||||||
writePinHigh(B3);
|
writePinHigh(B3);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue