mirror of https://github.com/nealey/vail.git
parent
50f4b41dd9
commit
2f9e651958
|
@ -262,6 +262,9 @@ class VailClient {
|
||||||
* Stop the side tone buzzer, and send out how long it was active.
|
* Stop the side tone buzzer, and send out how long it was active.
|
||||||
*/
|
*/
|
||||||
endTx() {
|
endTx() {
|
||||||
|
if (!this.beginTxTime) {
|
||||||
|
return
|
||||||
|
}
|
||||||
let endTxTime = Date.now()
|
let endTxTime = Date.now()
|
||||||
let duration = endTxTime - this.beginTxTime
|
let duration = endTxTime - this.beginTxTime
|
||||||
this.buzzer.Silence(true)
|
this.buzzer.Silence(true)
|
||||||
|
|
Loading…
Reference in New Issue