Skip to content

Commit

Permalink
Adjusted timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ker committed Jul 2, 2024
1 parent dba52db commit 1128d13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion intra/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ afterEvaluate {
from(components["release"])
groupId = "com.github.CarbideCowboy"
artifactId = "Intra"
version = "1.2.0"
version = "1.2.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class IsodepControllerImpl @Inject constructor(
return try {
isoDep?.let {
it.connect()
it.timeout = 60000
it.timeout = 20000
_connectionStatus.emit(true)
startConnectionCheckJob()
OperationResult.Success(Unit)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class NfcAControllerImpl @Inject constructor(
nfcA = NfcA.get(tag)
nfcA?.let {
it.connect()
it.timeout = 60000
it.timeout = 20000
Log.i("ApexConnection", "----NFC_A CONNECTED")
startConnectionCheckJob()
_connectionStatus.emit(true)
Expand Down

0 comments on commit 1128d13

Please sign in to comment.