File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -549,18 +549,20 @@ async fn process_lcd_overwrite(
549549 true ,
550550 ) ;
551551 } else if current_state. device_added == Some ( false ) {
552- _ = lcd_driver . print (
553- 0 ,
552+ # [ cfg ( not ( feature = "e2e" ) ) ]
553+ let lines = (
554554 & get_translation ( TranslationKey :: DEVICE_NOT_ADDED_HEADER ) ,
555- PrintAlign :: Center ,
556- true ,
557- ) ;
558- _ = lcd_driver. print (
559- 1 ,
560555 & get_translation ( TranslationKey :: DEVICE_NOT_ADDED_FOOTER ) ,
561- PrintAlign :: Center ,
562- true ,
563556 ) ;
557+
558+ #[ cfg( feature = "e2e" ) ]
559+ let lines = (
560+ "Press submit" ,
561+ "To start HIL"
562+ ) ;
563+
564+ _ = lcd_driver. print ( 0 , lines. 0 , PrintAlign :: Center , true ) ;
565+ _ = lcd_driver. print ( 1 , lines. 1 , PrintAlign :: Center , true ) ;
564566 } else if current_state. stackmat_connected == Some ( false ) {
565567 _ = lcd_driver. print (
566568 0 ,
You can’t perform that action at this time.
0 commit comments