CI fix #2
+2
-2
@@ -32,13 +32,13 @@
|
||||
//! ## Usage Example
|
||||
//!
|
||||
//! ```rust
|
||||
//! use raw_slice::RawBufSlice;
|
||||
//! use raw_buffer::RawBufSlice;
|
||||
//!
|
||||
//! static DATA: &[u8] = &[1, 2, 3, 4];
|
||||
//!
|
||||
//! // Safety: Your safety note here. We are using static data, your DMA might have other
|
||||
//! // requirements to the buffer used, e.g. buffer in correct RAM, with certain alignment etc.
|
||||
//! let raw_buf = unsafe { RawSlice::new(DATA) };
|
||||
//! let raw_buf = unsafe { RawBufSlice::new(DATA) };
|
||||
//!
|
||||
//! // Later, in an ISR or different context
|
||||
//! unsafe {
|
||||
|
||||
Reference in new issue
Block a user