From 69e6fbcc3c68040fa5688229c9234053ee361287 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 23 Oct 2026 08:19:50 +0000 Subject: [PATCH] cleanup(model): drop stale unused suppress on SampleStatus SampleStatus and every status predicate are called from MonitorDataProcessor.processStatusFlags. Companion masks are used by those predicates and by MonitorDataProcessorTest. The class-level @Suppress("unused") no longer matches the code, and the KDoc repeated the monitor-byte description. Co-authored-by: Devil <9thLevelSoftware@users.noreply.github.com> --- .../com/devil/phoenixproject/domain/model/SampleStatus.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/shared/src/commonMain/kotlin/com/devil/phoenixproject/domain/model/SampleStatus.kt b/shared/src/commonMain/kotlin/com/devil/phoenixproject/domain/model/SampleStatus.kt index eb675745e..dbd1272d7 100644 --- a/shared/src/commonMain/kotlin/com/devil/phoenixproject/domain/model/SampleStatus.kt +++ b/shared/src/commonMain/kotlin/com/devil/phoenixproject/domain/model/SampleStatus.kt @@ -2,9 +2,7 @@ package com.devil.phoenixproject.domain.model /** * Represents the machine's status flags parsed from bytes 16-17 of the Monitor characteristic. - * Bit flags from bytes 16-17 of the Monitor characteristic. */ -@Suppress("unused") // Protocol reference class - used for machine status parsing data class SampleStatus(val raw: Int) { fun isRepTopReady(): Boolean = (raw and REP_TOP_READY) != 0