Modules using lower-case in examples

This commit is contained in:
Henrik Tjäder 2020-05-19 18:00:13 +00:00
parent c718413cb5
commit 5cfd9b9238
44 changed files with 48 additions and 45 deletions

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[task(binds = NonMaskableInt)]
fn nmi(_: nmi::Context) {}
}

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[task(binds = SysTick)]
fn sys_tick(_: sys_tick::Context) {}

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[task]
fn a(_: a::Context) {}
}

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[task(binds = UART0)]
fn a(_: a::Context) {}

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[init]
fn init(_: init::Context) {
#[cfg(never)]

View file

@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
struct Resources {
#[cfg(never)]
#[init(0)]

View file

@ -3,7 +3,7 @@
use rtic::app;
#[rtic::app(device = lm3s6965)]
mod APP {
mod app {
#[init]
fn init(_: init::Context) {}