diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-10-02 14:49:40 +0200 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-10-02 14:49:40 +0200 |
| commit | 2415a640af49666799bb4cd09a40f16853bdd687 (patch) | |
| tree | c8757ae7905dd2fa3063a6c085b9152d19121422 /examples | |
| parent | a190da3e3ff63a25a33ac30fc99421ab0decce57 (diff) | |
fix `idle::Resources::new`
it assumed that all resources were "early" resources
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/late-resources.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/late-resources.rs b/examples/late-resources.rs index b5dba14..b60c774 100644 --- a/examples/late-resources.rs +++ b/examples/late-resources.rs @@ -32,6 +32,11 @@ app! { static PORT: u16; }, + idle: { + // Test that late resources can be used in idle + resources: [IP_ADDRESS], + } + tasks: { SYS_TICK: { priority: 1, |
