Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
fix: leftover names
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Mar 27, 2024
1 parent 14da947 commit 86081cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/vex-core/src/task/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ map_errno! {
///
/// This function will block the entire task, preventing concurrent
/// execution of async code. When in an async context, it is recommended
/// to use the `sleep` function in [`pros_async`](https://crates.io/crates/vex-async) instead.
/// to use the `sleep` function in [`vex_async`](https://crates.io/crates/vex-async) instead.
pub fn delay(duration: Duration) {
unsafe { pros_sys::delay(duration.as_millis() as u32) }
}
Expand Down
14 changes: 7 additions & 7 deletions packages/vex-v5/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@
//! ```
//!
//! You may have noticed the `#[derive(Default)]` attribute on these Robot structs.
//! If you want to learn why, look at the docs for [`pros_async::async_robot`] or [`pros_sync::sync_robot`].
//! If you want to learn why, look at the docs for [`vex_async::async_robot`] or [`pros_sync::sync_robot`].
#![no_std]

#[cfg(feature = "async")]
pub use pros_async as async_runtime;
pub use vex_async as async_runtime;
#[cfg(feature = "core")]
pub use vex_core as core;
#[cfg(feature = "math")]
pub use pros_math as math;
pub use vex_math as math;
#[cfg(feature = "panic")]
pub use pros_panic as panic;
pub use vex_panic as panic;
#[cfg(feature = "sync")]
pub use pros_sync as sync;
pub use vex_sync as sync;
pub use pros_sys as sys;
#[cfg(feature = "devices")]
pub use vex_devices as devices;
Expand All @@ -73,7 +73,7 @@ pub use vex_devices as devices;
/// This module is meant to be glob imported.
pub mod prelude {
#[cfg(feature = "async")]
pub use pros_async::{async_robot, block_on, sleep, spawn, AsyncRobot};
pub use vex_async::{async_robot, block_on, sleep, spawn, AsyncRobot};
#[cfg(feature = "core")]
pub use vex_core::{
dbg, eprint, eprintln,
Expand All @@ -83,7 +83,7 @@ pub mod prelude {
task::delay,
};
#[cfg(feature = "math")]
pub use pros_math::{feedforward::MotorFeedforwardController, pid::PidController};
pub use vex_math::{feedforward::MotorFeedforwardController, pid::PidController};
#[cfg(feature = "sync")]
pub use pros_sync::{sync_robot, SyncRobot};
#[cfg(feature = "devices")]
Expand Down

0 comments on commit 86081cc

Please sign in to comment.