File tree 2 files changed +4
-4
lines changed
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"
10
10
edition = " 2018"
11
11
12
12
[dependencies ]
13
- nrf52840-hal = " 0.11 .0"
13
+ nrf52840-hal = " 0.12 .0"
14
14
15
15
[dev-dependencies ]
16
16
cortex-m-rt = " 0.6.13"
Original file line number Diff line number Diff line change 1
1
#![ no_std]
2
2
3
3
pub extern crate nrf52840_hal as hal;
4
- use hal:: gpio:: { p0, p1, Floating , Input } ;
4
+ use hal:: gpio:: { p0, p1, Disconnected } ;
5
5
pub use hal:: pac;
6
6
7
7
macro_rules! define_pins {
@@ -15,8 +15,8 @@ macro_rules! define_pins {
15
15
16
16
$( #[ $topattr] ) *
17
17
pub 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 >, ) +
20
20
}
21
21
22
22
impl $Type {
You can’t perform that action at this time.
0 commit comments