diff options
Diffstat (limited to 'book/en/src/internals/ceilings.md')
| -rw-r--r-- | book/en/src/internals/ceilings.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/internals/ceilings.md b/book/en/src/internals/ceilings.md index 49d248a..07bd0ad 100644 --- a/book/en/src/internals/ceilings.md +++ b/book/en/src/internals/ceilings.md @@ -28,7 +28,7 @@ An example to illustrate the ceiling analysis: ``` rust #[rtic::app(device = ..)] -const APP: () = { +mod app { struct Resources { // accessed by `foo` (prio = 1) and `bar` (prio = 2) // -> CEILING = 2 @@ -80,5 +80,5 @@ const APP: () = { } // .. -}; +} ``` |
