Add milliSecFromMidnight in Profile interface and Autotune LTag
This commit is contained in:
parent
a708c45bfb
commit
b1165caef3
|
@ -148,6 +148,10 @@ interface Profile {
|
|||
return (passed / 1000).toInt()
|
||||
}
|
||||
|
||||
fun milliSecFromMidnight(date: Long): Long {
|
||||
val passed = DateTime(date).millisOfDay.toLong()
|
||||
return passed
|
||||
}
|
||||
/*
|
||||
* Units conversion
|
||||
*/
|
||||
|
|
|
@ -5,6 +5,7 @@ enum class LTag(val tag: String, val defaultValue : Boolean = true, val requires
|
|||
APS("APS"),
|
||||
AUTOSENS("AUTOSENS", defaultValue = false),
|
||||
AUTOMATION("AUTOMATION"),
|
||||
AUTOTUNE("AUTOTUNE", defaultValue = false),
|
||||
BGSOURCE("BGSOURCE"),
|
||||
CONFIGBUILDER("CONFIGBUILDER"),
|
||||
CONSTRAINTS("CONSTRAINTS"),
|
||||
|
|
Loading…
Reference in a new issue