mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
remove accidental struct duplicate
This commit is contained in:
parent
d351eef6fa
commit
7211e1fdc7
|
@ -28,14 +28,3 @@ pub mod pixel_grid;
|
||||||
|
|
||||||
/// The minimum time needed for the display to refresh the screen in ms.
|
/// The minimum time needed for the display to refresh the screen in ms.
|
||||||
pub const FRAME_PACING_MS: u32 = servicepoint::FRAME_PACING.as_millis() as u32;
|
pub const FRAME_PACING_MS: u32 = servicepoint::FRAME_PACING.as_millis() as u32;
|
||||||
|
|
||||||
#[repr(C)]
|
|
||||||
/// Represents a span of memory (`&mut [u8]` ) as a struct usable by C code.
|
|
||||||
///
|
|
||||||
/// Usage of this type is inherently unsafe.
|
|
||||||
pub struct CByteSlice {
|
|
||||||
/// The start address of the memory
|
|
||||||
pub start: *mut u8,
|
|
||||||
/// The amount of memory in bytes
|
|
||||||
pub length: usize,
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue