diff options
Diffstat (limited to 'examples/zero-tasks.rs')
-rw-r--r-- | examples/zero-tasks.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/zero-tasks.rs b/examples/zero-tasks.rs index 9176103d..58e6afc7 100644 --- a/examples/zero-tasks.rs +++ b/examples/zero-tasks.rs @@ -25,8 +25,9 @@ app! { // this function. fn init(p: init::Peripherals) { // This function has access to all the peripherals of the device - p.GPIOA; - p.RCC; + p.core.SYST; + p.device.GPIOA; + p.device.RCC; // .. } |