Skip to content

Commit a41a1c1

Browse files
committed
adt-reduction
1 parent a6f0ec1 commit a41a1c1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tock/boards/arty-e21/src/main.rs

+1-11
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![no_main]
33
#![feature(const_fn, in_band_lifetimes)]
44

5-
use capsules::virtual_alarm::{VirtualMuxAlarm};
65
use kernel::capabilities;
76
use kernel::Platform;
87
use kernel::{create_capability, static_init};
@@ -36,16 +35,7 @@ static mut PROCESSES: [Option<&'static dyn kernel::procs::ProcessType>; NUM_PROC
3635
#[link_section = ".stack_buffer"]
3736
pub static mut STACK_MEMORY: [u8; 0x1000] = [0; 0x1000];
3837

39-
struct ArtyE21 {
40-
_console: &'static capsules::console::Console<'static>,
41-
_gpio: &'static capsules::gpio::GPIO<'static>,
42-
_alarm: &'static capsules::alarm::AlarmDriver<
43-
'static,
44-
VirtualMuxAlarm<'static, rv32i::machine_timer::MachineTimer<'static>>,
45-
>,
46-
_led: &'static capsules::led::LED<'static>,
47-
_button: &'static capsules::button::Button<'static>,
48-
}
38+
struct ArtyE21 { }
4939

5040
impl Platform for ArtyE21 {
5141
fn with_driver<F, R>(&self, _: usize, _: F) -> R

0 commit comments

Comments
 (0)