mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-01 05:22:05 +00:00
Fix register write size for programmable function control
This commit is contained in:
parent
3d219ce2bd
commit
f9a05c4997
@ -211,7 +211,7 @@ int usb7206_gpio_init(struct USB7206_GPIO * self) {
|
|||||||
int res = 0;
|
int res = 0;
|
||||||
|
|
||||||
// Set programmable function to GPIO
|
// Set programmable function to GPIO
|
||||||
res = usb7206_write_reg_32(self->usb7206, PF1_CTL + (self->pf - 1), 0);
|
res = usb7206_write_reg_8(self->usb7206, PF1_CTL + (self->pf - 1), 0);
|
||||||
if (res < 0) return res;
|
if (res < 0) return res;
|
||||||
|
|
||||||
// Set GPIO to false by default
|
// Set GPIO to false by default
|
||||||
|
Loading…
Reference in New Issue
Block a user