File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ mod app {
141
141
let gpioc = ctx. device . GPIOC . split ( ccdr. peripheral . GPIOC ) ;
142
142
let gpioe = ctx. device . GPIOE . split ( ccdr. peripheral . GPIOE ) ;
143
143
let gpiob = ctx. device . GPIOB . split ( ccdr. peripheral . GPIOB ) ;
144
+ let gpiog = ctx. device . GPIOG . split ( ccdr. peripheral . GPIOG ) ;
144
145
let mut link_led = gpioe. pe1 . into_push_pull_output ( ) ; // USR LED1
145
146
link_led. set_high ( ) ;
146
147
@@ -150,8 +151,8 @@ mod app {
150
151
let rmii_crs_dv = gpioa. pa7 . into_alternate ( ) ;
151
152
let rmii_rxd0 = gpioc. pc4 . into_alternate ( ) ;
152
153
let rmii_rxd1 = gpioc. pc5 . into_alternate ( ) ;
153
- let rmii_tx_en = gpiob . pb11 . into_alternate ( ) ;
154
- let rmii_txd0 = gpiob . pb12 . into_alternate ( ) ;
154
+ let rmii_tx_en = gpiog . pg11 . into_alternate ( ) ;
155
+ let rmii_txd0 = gpiog . pg13 . into_alternate ( ) ;
155
156
let rmii_txd1 = gpiob. pb13 . into_alternate ( ) ;
156
157
157
158
// Initialise ethernet...
You can’t perform that action at this time.
0 commit comments