You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/drivers
yiancar c0fe8dbfb4 IS31FL3733 Dirty page fix (#7079)
* IS31FL3733 Dirty page fix

Function IS31FL3733_update_led_control_registers was never setting update register to false. As a result the led on/off page was being written every transaction even when it was not modified. This is ineficient and causes lots of bandwidth use.

-> Fix the IS31FL3733_update_led_control_registers.
-> After testing it was evident that failed I2C transactions could corrupt the Led on/off register.
-> Update IS31FL3733_write_pwm_buffer and IS31FL3733_write_register functions to return 0 upon succesful tranmission and 1 if any of the transmitions within the function fail.
-> Modify IS31FL3733_update_pwm_buffers function so if any of the IS31FL3733_write_pwm_buffer transuction fails, the g_led_control_registers_update_required register is set to true forcing a rewrite of the led on/off register in case it was corrupted.

* Minor comment update

* Upsie:)

* Update is31fl3733.c

* Return fix

* more return fix

* type change

* more boolian logic reversal:)
6 years ago
..
arm Unify RGB and RGBW commands (#7297) 6 years ago
avr Move Ergodox EZ RGB Light code to custom driver (#7309) 6 years ago
boards clang-format changes 6 years ago
gpio clang-format changes 6 years ago
haptic Run clang-format manually to fix recently changed files 6 years ago
issi IS31FL3733 Dirty page fix (#7079) 6 years ago
oled Adds raw write functions to the OLED driver (#7237) 6 years ago
qwiic clang-format changes 6 years ago
ugfx/gdisp clang-format changes 6 years ago