File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn main() -> ! {
16
16
let mut board = Board :: take ( ) . unwrap ( ) ;
17
17
let mut timer = Timer :: new ( board. TIMER0_NS ) ;
18
18
19
- writeln ! ( board. cdc , "Hello, world!" ) . unwrap ( ) ;
19
+ writeln ! ( board. cdc_uart , "Hello, world!" ) . unwrap ( ) ;
20
20
21
21
let mut led_is_on = false ;
22
22
loop {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub struct Board {
29
29
pub pins : Pins ,
30
30
31
31
/// The nRF9160-DK UART which is wired to the virtual USB CDC port
32
- pub cdc : Uarte < pac:: UARTE0_NS > ,
32
+ pub cdc_uart : Uarte < pac:: UARTE0_NS > ,
33
33
34
34
/// The LEDs on the nRF9160-DK board
35
35
pub leds : Leds ,
@@ -435,7 +435,7 @@ impl Board {
435
435
) ;
436
436
437
437
Board {
438
- cdc : cdc_uart,
438
+ cdc_uart,
439
439
440
440
pins : Pins {
441
441
P0_00 : pins0. p0_00 ,
You can’t perform that action at this time.
0 commit comments