Next set of split_common changes (#4974)
* Update split_common to use standard i2c drivers * Eliminate RGB_DIRTY/BACKLIT_DIRTY * Fix avr i2c_master error handling * Fix i2c_slave addressing * Remove unneeded timeout on i2c_stop() * Fix RGB I2C transfers * Remove incorrect comment
This commit is contained in:
parent
25bb059e4e
commit
37932c293c
24 changed files with 187 additions and 614 deletions
|
@ -455,10 +455,10 @@ i2c_status_t i2c_transaction(uint8_t address, uint32_t mask, uint8_t col_offset)
|
|||
matrix[MATRIX_ROWS - 1] |= ((uint32_t)err << (MATRIX_COLS_SCANNED + col_offset)); //add new bits at the end
|
||||
|
||||
} else {
|
||||
i2c_stop(10);
|
||||
i2c_stop();
|
||||
return 1;
|
||||
}
|
||||
|
||||
i2c_stop(10);
|
||||
i2c_stop();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue