Skip to content

Commit

Permalink
Ran make prepush
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianSLazar committed Jan 22, 2024
1 parent df677cb commit 09b22c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions boards/components/src/bus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ macro_rules! i2c_master_bus_component_static {
($D:ty $(,)?) => {{
let address_buffer = kernel::static_buf!([u8; 1]);
let bus = kernel::static_buf!(capsules_extra::bus::I2CMasterBus<'static, $D>);
let i2c_device =
kernel::static_buf!(capsules_core::virtualizers::virtual_i2c::I2CDevice<
let i2c_device = kernel::static_buf!(
capsules_core::virtualizers::virtual_i2c::I2CDevice<
'static,
capsules_extra::bus::I2CMasterBus<'static, $D>,
>);
>
);

(bus, i2c_device, address_buffer)
};};
Expand Down

0 comments on commit 09b22c6

Please sign in to comment.