File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,10 @@ fn main() -> anyhow::Result<()> {
138138 let ble_addr = bt:: bt ( setting. clone ( ) , evt_tx) . unwrap ( ) ;
139139 log_heap ( ) ;
140140
141+ let version = env ! ( "CARGO_PKG_VERSION" ) ;
142+
141143 gui. state = "Please setup device by bt" . to_string ( ) ;
142- gui. text = format ! ( "Goto https://echokit.dev/setup/ to set up the device.\n Press K0 to continue \ n Device Name: EchoKit-{}" , ble_addr) ;
144+ gui. text = format ! ( "Goto https://echokit.dev/setup/ to set up the device.\n Device Name: EchoKit-{}\n Version: {} " , ble_addr, version ) ;
143145 gui. display_qrcode ( "https://echokit.dev/setup/" ) . unwrap ( ) ;
144146
145147 #[ cfg( feature = "boards" ) ]
@@ -166,6 +168,7 @@ fn main() -> anyhow::Result<()> {
166168 log:: info!( "Received event to enter setup" ) ;
167169 }
168170 }
171+ tokio:: time:: sleep ( std:: time:: Duration :: from_millis ( 500 ) ) . await ;
169172 } ) ;
170173
171174 {
You can’t perform that action at this time.
0 commit comments