mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix apis in baremetal
This commit is contained in:
parent
261ea7a880
commit
7edbeed07c
1 changed files with 2 additions and 2 deletions
|
|
@ -702,7 +702,7 @@ impl Repl {
|
|||
};
|
||||
let perclk = 100_000_000; // assume this value
|
||||
let mut i2c = unsafe {
|
||||
bao1x_hal::udma::I2c::new_with_ifram(
|
||||
bao1x_hal::udma::I2cDriver::new_with_ifram(
|
||||
i2c_channel,
|
||||
400_000,
|
||||
perclk,
|
||||
|
|
@ -849,7 +849,7 @@ impl Repl {
|
|||
)
|
||||
};
|
||||
let mut i2c = unsafe {
|
||||
bao1x_hal::udma::I2c::new_with_ifram(
|
||||
bao1x_hal::udma::I2cDriver::new_with_ifram(
|
||||
i2c_channel,
|
||||
400_000,
|
||||
perclk,
|
||||
|
|
|
|||
Loading…
Reference in a new issue