This commit is contained in:
Willy-JL
2023-11-12 02:20:45 +00:00
498 changed files with 4821 additions and 2206 deletions

View File

@@ -170,7 +170,7 @@ bool ecInit(wiiEC_t* pec, const uint8_t* encKey) {
#if 0 //! i2c workaround
// May become relevant when the i2c issues are resolved
// Take control of the i2c bus [which returns void !?]
// --> firmware/targets/f7/furi_hal/furi_hal_i2c.c
// --> targets/f7/furi_hal/furi_hal_i2c.c
furi_hal_i2c_acquire(i2cBus);
#endif

View File

@@ -25,7 +25,7 @@
// When we read: After we send the read command, we wait for i2cReadWait uS before reading the data
//
// firmware/targets/f7/furi_hal/furi_hal_i2c_types.h
// targets/f7/furi_hal/furi_hal_i2c_types.h
#define i2cBus (&furi_hal_i2c_handle_external) // FZ external i2c bus
#define i2cAddr (ec_i2cAddr << 1)
#define i2cTimeout (3) // in mS