Cleaned up SensorsRepo class, removed deprecated calls

This commit is contained in:
Arty Bishop committed 2026-06-21 15:03:45 +01:00
1 parent 81d397a09d
commit 9147323db2
4 files changed
+28 -41

No files matched your search

@@ -21,7 +21,7 @@ import com.rtbishop.look4sat.core.domain.predict.GeoPos
import kotlinx.coroutines.flow.StateFlow
interface ISensorsRepo {
val orientation: StateFlow<Pair<Float, Float>>
val sensorData: StateFlow<Pair<Float, Float>>
fun getMagDeclination(geoPos: GeoPos, time: Long = System.currentTimeMillis()): Float
fun enableSensor()
fun disableSensor()