From 9e6537ca98c0ecb42863616e5656d8fed5491455 Mon Sep 17 00:00:00 2001 From: Caisking Date: Thu, 22 May 2025 09:58:57 +0800 Subject: [PATCH] =?utf8?q?=E5=88=A0=E9=99=A4=E9=94=99=E8=AF=AF=E7=9A=84?= =?utf8?q?=E5=AE=8F=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/watchQRcode/src/WatchQRCodeView.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/code/sdk/application/wearable/fd230/nativeapp/nativeui/watchQRcode/src/WatchQRCodeView.cpp b/code/sdk/application/wearable/fd230/nativeapp/nativeui/watchQRcode/src/WatchQRCodeView.cpp index 2fffbfdf8..152472286 100644 --- a/code/sdk/application/wearable/fd230/nativeapp/nativeui/watchQRcode/src/WatchQRCodeView.cpp +++ b/code/sdk/application/wearable/fd230/nativeapp/nativeui/watchQRcode/src/WatchQRCodeView.cpp @@ -63,15 +63,14 @@ namespace OHOS extern "C" { -#ifdef SUPPORT_BLE_SERVICE -#include "build_version.h" -#include "battery_hal.h" - extern uint8_t battery_get_voltage(float *voltage); - const char *get_version_string(void); -#else + +// #include "build_version.h" +// #include "battery_hal.h" +// extern uint8_t battery_get_voltage(float *voltage); +// const char *get_version_string(void); extern uint8_t battery_get_voltage(float *voltage){ return 0;} const char *get_version_string(void); -#endif + } bool WatchQRCodeView::WatchQRCodeInitViewGroup(void) -- 2.17.1