Updated to 2024 edition
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
name = "esp-epd"
|
||||
version = "0.1.0"
|
||||
authors = ["zenonet <git@zenonet.de>"]
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
resolver = "2"
|
||||
rust-version = "1.77"
|
||||
|
||||
# This was specified as 1.77 for the template, idk, how the rust version could cause problems...
|
||||
#rust-version = "1.89"
|
||||
|
||||
[[bin]]
|
||||
name = "esp-epd"
|
||||
|
||||
@@ -31,14 +31,13 @@ use embedded_layout::{layout::linear::{spacing::DistributeFill, FixedMargin, Lin
|
||||
|
||||
type Timetable = [[Option<Lesson>;8]; 5];
|
||||
|
||||
|
||||
#[link_section = ".rtc.data"]
|
||||
#[unsafe(link_section = ".rtc.data")]
|
||||
static mut WAKEUP_COUNTER: u64 = 0;
|
||||
|
||||
#[link_section = ".rtc.data"]
|
||||
#[unsafe(link_section = ".rtc.data")]
|
||||
static mut FETCHING_FAIL_COUNT: Option<NonZeroU16> = None;
|
||||
|
||||
#[link_section = ".rtc.data"]
|
||||
#[unsafe(link_section = ".rtc.data")]
|
||||
static mut ERROR_MSG: Option<[u8; 2048]> = None;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user