mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-05-05 13:28:20 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
c5c0cedf78
@ -61,6 +61,10 @@
|
|||||||
# define ISSI_PERSISTENCE 0
|
# define ISSI_PERSISTENCE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ISSI_CONFIGURATION
|
||||||
|
# define ISSI_CONFIGURATION 0x01
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ISSI_SWPULLUP
|
#ifndef ISSI_SWPULLUP
|
||||||
# define ISSI_SWPULLUP PUR_32KR
|
# define ISSI_SWPULLUP PUR_32KR
|
||||||
#endif
|
#endif
|
||||||
@ -162,7 +166,7 @@ void is31fl3741_init(uint8_t addr) {
|
|||||||
is31fl3741_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_FUNCTION);
|
is31fl3741_write_register(addr, ISSI_COMMANDREGISTER, ISSI_PAGE_FUNCTION);
|
||||||
|
|
||||||
// Set to Normal operation
|
// Set to Normal operation
|
||||||
is31fl3741_write_register(addr, ISSI_REG_CONFIGURATION, 0x01);
|
is31fl3741_write_register(addr, ISSI_REG_CONFIGURATION, ISSI_CONFIGURATION);
|
||||||
|
|
||||||
// Set Golbal Current Control Register
|
// Set Golbal Current Control Register
|
||||||
is31fl3741_write_register(addr, ISSI_REG_GLOBALCURRENT, ISSI_GLOBALCURRENT);
|
is31fl3741_write_register(addr, ISSI_REG_GLOBALCURRENT, ISSI_GLOBALCURRENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user