mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Add probing for unused devices for testing/timing
This commit is contained in:
@@ -52,6 +52,8 @@ bool i2c_probe(uint8_t addr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t FS2711::detect_i2c_bus_num() {
|
uint8_t FS2711::detect_i2c_bus_num() {
|
||||||
|
I2CBB2::probe(88);
|
||||||
|
I2CBB2::probe(89);
|
||||||
if (I2CBB2::probe(FS2711_ADDR)) {
|
if (I2CBB2::probe(FS2711_ADDR)) {
|
||||||
I2C_PORT = 2;
|
I2C_PORT = 2;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user