File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -219,10 +219,10 @@ pub unsafe extern "C" fn rust_entry() -> ! {
219219 // needed after reset for the display to initialize
220220 if let Some ( ref mut sh1107) = oled {
221221 // show the boot logo
222- sh1107. init ( ) ;
222+ sh1107. init ( ) . ok ( ) ;
223223 delay ( 100 ) ;
224224 sh1107. blit_screen ( & ux_api:: bitmaps:: baochip128x128:: BITMAP ) ;
225- sh1107. draw ( ) ;
225+ sh1107. draw ( ) . ok ( ) ;
226226 delay ( 150 ) ;
227227 } else {
228228 delay ( 250 ) ;
@@ -450,5 +450,5 @@ pub fn marquee(sh1107: &mut Oled128x128, msg: &str) {
450450 bao1x_hal:: sh1107:: Mono :: White . into ( ) ,
451451 bao1x_hal:: sh1107:: Mono :: Black . into ( ) ,
452452 ) ;
453- sh1107. draw ( ) ;
453+ sh1107. draw ( ) . ok ( ) ;
454454}
Original file line number Diff line number Diff line change @@ -364,6 +364,7 @@ pub fn usb_ep1_bulk_out_complete(
364364 None ,
365365 ) ,
366366 false ,
367+ ( ( 100_000_000 / 2 ) / 2_000_000 ) as u8 ,
367368 ) ,
368369 & iox,
369370 )
You can’t perform that action at this time.
0 commit comments