File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ version = "0.0.1"
1010edition = " 2018"
1111
1212[dependencies ]
13- nrf52840-hal = " 0.11 .0"
13+ nrf52840-hal = " 0.12 .0"
1414
1515[dev-dependencies ]
1616cortex-m-rt = " 0.6.13"
Original file line number Diff line number Diff line change 11#![ no_std]
22
33pub extern crate nrf52840_hal as hal;
4- use hal:: gpio:: { p0, p1, Floating , Input } ;
4+ use hal:: gpio:: { p0, p1, Disconnected } ;
55pub use hal:: pac;
66
77macro_rules! define_pins {
@@ -15,8 +15,8 @@ macro_rules! define_pins {
1515
1616$( #[ $topattr] ) *
1717pub struct $Type {
18- $( $( #[ $attr] ) * pub $name: p0:: $pin_type <Input < Floating > >, ) +
19- $( $( #[ $attr1] ) * pub $name1: p1:: $pin_type1 <Input < Floating > >, ) +
18+ $( $( #[ $attr] ) * pub $name: p0:: $pin_type <Disconnected >, ) +
19+ $( $( #[ $attr1] ) * pub $name1: p1:: $pin_type1 <Disconnected >, ) +
2020}
2121
2222impl $Type {
You can’t perform that action at this time.
0 commit comments