fix
This commit is contained in:
@@ -224,9 +224,9 @@ class HemoCubeBufferCheckFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resultData.contains("REND") -> {
|
resultData.contains("REND") -> {
|
||||||
hemoCubeViewModel.messages.postValue(
|
// hemoCubeViewModel.messages.postValue(
|
||||||
"Data collected \n" + " Processing data"
|
// "Data collected \n" + " Processing data"
|
||||||
)
|
// )
|
||||||
val resultLines = resultData.split("\\s+(?=LB|LS)".toRegex())
|
val resultLines = resultData.split("\\s+(?=LB|LS)".toRegex())
|
||||||
var bufferIntensity = resultLines[1].split(' ')[1].trim()
|
var bufferIntensity = resultLines[1].split(' ')[1].trim()
|
||||||
led1BufferForDevice = bufferIntensity.toDoubleOrNull()!!
|
led1BufferForDevice = bufferIntensity.toDoubleOrNull()!!
|
||||||
|
|||||||
Reference in New Issue
Block a user