File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ mod matrix;
7
7
8
8
use cortex_m_rt:: { entry, exception, ExceptionFrame } ; // Stack frame for exception handling.
9
9
use panic_semihosting as _;
10
- use cortex_m_semihosting:: hprintln;
11
10
12
11
use stm32f1xx_hal:: { pac, prelude:: * } ;
13
12
@@ -36,8 +35,6 @@ use Row::*;
36
35
37
36
#[ entry]
38
37
fn main ( ) -> ! {
39
- hprintln ! ( "Starting" ) ;
40
-
41
38
// Init chip
42
39
let _cp = cortex_m:: Peripherals :: take ( ) . unwrap ( ) ;
43
40
let dp = pac:: Peripherals :: take ( ) . unwrap ( ) ;
@@ -50,7 +47,6 @@ fn main() -> ! {
50
47
. pclk1 ( 24 . MHz ( ) )
51
48
. freeze ( & mut flash. acr ) ;
52
49
53
-
54
50
// Init GPIO
55
51
let mut gpioa = dp. GPIOA . split ( ) ;
56
52
let clock0 = gpioa. pa0 . into_push_pull_output ( & mut gpioa. crl ) ;
@@ -76,8 +72,6 @@ fn main() -> ! {
76
72
matrix1. clear ( ) ;
77
73
matrix1. show ( ) ;
78
74
79
- hprintln ! ( "*" ) ;
80
-
81
75
const CONTROL : u8 = '.' as u8 ;
82
76
const ROW0 : u8 = '0' as u8 ;
83
77
const ROW1 : u8 = '1' as u8 ;
You can’t perform that action at this time.
0 commit comments