mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
This commit is contained in:
2
applications/external/wiiec/wii_i2c.c
vendored
2
applications/external/wiiec/wii_i2c.c
vendored
@@ -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
|
||||
|
||||
|
||||
2
applications/external/wiiec/wii_i2c.h
vendored
2
applications/external/wiiec/wii_i2c.h
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user