File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -524,7 +524,7 @@ class ReplJS{
524524 //This is writing to cause the XRP to reboot, so we don't expect a response from the BLE. So, we will not ask for one.
525525 async writeSTOPtoBleDevice ( str ) {
526526 try {
527- await this . WRITEBLE . writeValueWithoutResponse ( this . str2ab ( str ) ) ;
527+ this . WRITEBLE . writeValue ( this . str2ab ( str ) ) ; //don't wait since the Windows timeout is long
528528 } catch ( error ) {
529529 console . error ( 'ble stop write failed:' , error ) ;
530530 //do nothing we expected an error
@@ -1910,7 +1910,7 @@ class ReplJS{
19101910 this . STOP = true ; //let the executeLines code know when it stops, it stopped because the STOP button was pushed
19111911 this . SPECIAL_FORCE_OUTPUT_FLAG = false ; //turn off showing output so they don't see the keyboardInterrupt and stack trace.
19121912 if ( this . BLE_DEVICE != undefined ) {
1913- await this . writeToDevice ( this . BLE_STOP_MSG ) ;
1913+ await this . writeSTOPtoBleDevice ( this . BLE_STOP_MSG ) ;
19141914 return ;
19151915 }
19161916
You can’t perform that action at this time.
0 commit comments