From a57e97eff2ad24953da848990e11cfe94254e15f Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Mon, 15 Jun 2026 18:03:36 +0800 Subject: [PATCH] =?utf8?q?=E9=80=82=E9=85=8D=E6=96=B0=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/bloodpressure/src/BPMainPresenter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/bloodpressure/src/BPMainPresenter.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/bloodpressure/src/BPMainPresenter.cpp index c6266fc34..631a1ebb7 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/bloodpressure/src/BPMainPresenter.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/bloodpressure/src/BPMainPresenter.cpp @@ -239,6 +239,9 @@ bool BPMainPresenter::PollPpgResult() { } if (progressMode_ == BPProgressMode::Measure) { + if (status != PPG_ECG_BP_STATUS_SUCCESS) { + return false; + } if (!IsValidBpReading(sbp, dbp)) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[BP] measure poll invalid sbp=%d dbp=%d", sbp, dbp); return false; @@ -249,6 +252,9 @@ bool BPMainPresenter::PollPpgResult() { } if (progressMode_ == BPProgressMode::Calibrate) { + if (status != PPG_ECG_BP_STATUS_SUCCESS) { + return false; + } if (sbp <= 0 || dbp <= 0) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[BP] cali poll no result sbp=%d dbp=%d", sbp, dbp); return false; -- 2.17.1