@@ -78,7 +78,6 @@ pub struct RegisterState {
7878 firmware_version : & ' static str ,
7979}
8080
81- //USB is not a name of an interrupt
8281#[ app( device = crate :: pac, peripherals = true , dispatchers=[ USART2 ] ) ]
8382mod app {
8483
@@ -223,25 +222,25 @@ mod app {
223222 gpioa. pa10 . into_alternate ( ) ,
224223 gpioa. pa11 . into_alternate ( ) ,
225224 gpioa. pa12 . into_alternate ( ) ,
226- //power led
225+ // power led
227226 gpioc. pc1 . into_push_pull_output ( ) ,
228227 // status led
229228 gpioc. pc2 . into_push_pull_output ( ) ,
230229 // power button
231230 gpioc. pc13 . into_pull_up_input ( ) ,
232231 // reset button
233232 gpiob. pb12 . into_pull_up_input ( ) ,
234- //dc on
233+ // dc on
235234 gpioc. pc0 . into_push_pull_output ( ) ,
236235 // system reset
237236 gpiob. pb15 . into_push_pull_output ( ) ,
238- //PS2_CLK0
237+ // PS2_CLK0
239238 gpioc. pc5 . into_floating_input ( ) ,
240- //PS2_CLK1
239+ // PS2_CLK1
241240 gpiob. pb0 . into_floating_input ( ) ,
242- //PS2_DAT0
241+ // PS2_DAT0
243242 gpiob. pb1 . into_floating_input ( ) ,
244- //PS2_DAT1
243+ // PS2_DAT1
245244 gpiob. pb2 . into_floating_input ( ) ,
246245 )
247246 } ) ;
@@ -312,7 +311,6 @@ mod app {
312311 } ,
313312 kb_q_in,
314313 kb_q_out,
315- // SEEMS GONE:
316314 ms_decoder : Ps2Decoder :: new ( ) ,
317315 } ;
318316
0 commit comments