reordering the crate and addind more documentation and added the docs to the same repo
This commit is contained in:
parent
6fb155dff3
commit
34c781e882
1035 changed files with 11041 additions and 18 deletions
|
@ -2,7 +2,7 @@
|
|||
//!
|
||||
//! All of the functions are safe wrapped inside the struct.
|
||||
#![allow(dead_code)]
|
||||
use crate::prelude::ButtonSet;
|
||||
use crate::hardware::buttons::ButtonSet;
|
||||
use crate::print::Printable;
|
||||
use core::ffi::{c_char, c_int, c_long, c_size_t, c_uchar, c_uint, c_ulong};
|
||||
use core::mem;
|
||||
|
@ -66,7 +66,7 @@ impl Arduboy2 {
|
|||
/// ```
|
||||
/// const arduboy: Arduboy2 = Arduboy2::new();
|
||||
/// ```
|
||||
pub fn new() -> Self {
|
||||
pub const fn new() -> Self {
|
||||
Arduboy2 {}
|
||||
}
|
||||
/// Initialize the hardware, display the boot logo, provide boot utilities, etc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue