Skip to content

Commit e505622

Browse files
committed
changed to alphabetical order
1 parent 813ebe9 commit e505622

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ libtock_i2c_master = { path = "apis/peripherals/i2c_master" }
3636
libtock_i2c_master_slave = { path = "apis/peripherals/i2c_master_slave" }
3737
libtock_key_value = { path = "apis/storage/key_value" }
3838
libtock_leds = { path = "apis/interface/leds" }
39-
libtock_servo = { path = "apis/interface/servo" }
4039
libtock_low_level_debug = { path = "apis/kernel/low_level_debug" }
4140
libtock_ninedof = { path = "apis/sensors/ninedof" }
4241
libtock_platform = { path = "platform" }
4342
libtock_proximity = { path = "apis/sensors/proximity" }
4443
libtock_rng = { path = "apis/peripherals/rng" }
4544
libtock_runtime = { path = "runtime" }
45+
libtock_servo = { path = "apis/interface/servo" }
4646
libtock_small_panic = { path = "panic_handlers/small_panic" }
4747
libtock_sound_pressure = { path = "apis/sensors/sound_pressure" }
4848
libtock_spi_controller = { path = "apis/peripherals/spi_controller" }
@@ -70,9 +70,9 @@ exclude = ["tock"]
7070
members = [
7171
"apis/interface/buttons",
7272
"apis/interface/buzzer",
73-
"apis/interface/servo",
7473
"apis/interface/console",
7574
"apis/interface/leds",
75+
"apis/interface/servo",
7676
"apis/kernel/low_level_debug",
7777
"apis/peripherals/adc",
7878
"apis/peripherals/alarm",

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ pub mod leds {
6666
use libtock_leds as leds;
6767
pub type Leds = leds::Leds<super::runtime::TockSyscalls>;
6868
}
69-
pub mod servo {
70-
use libtock_servo as servo;
71-
pub type Servo = servo::Servo<super::runtime::TockSyscalls>;
72-
}
7369
pub mod low_level_debug {
7470
use libtock_low_level_debug as lldb;
7571
pub type LowLevelDebug = lldb::LowLevelDebug<super::runtime::TockSyscalls>;
@@ -89,6 +85,10 @@ pub mod rng {
8985
pub type Rng = rng::Rng<super::runtime::TockSyscalls>;
9086
pub use rng::RngListener;
9187
}
88+
pub mod servo {
89+
use libtock_servo as servo;
90+
pub type Servo = servo::Servo<super::runtime::TockSyscalls>;
91+
}
9292
pub mod sound_pressure {
9393
use libtock_sound_pressure as sound_pressure;
9494
pub type SoundPressure = sound_pressure::SoundPressure<super::runtime::TockSyscalls>;

0 commit comments

Comments
 (0)