From 439f44b0b271752d7adf000a3dc3d4c2e8024c19 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 10 Aug 2024 21:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/GPIOControl.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/src/main/cpp/GPIOControl.cpp b/app/src/main/cpp/GPIOControl.cpp index 3bba8be7..670e1617 100644 --- a/app/src/main/cpp/GPIOControl.cpp +++ b/app/src/main/cpp/GPIOControl.cpp @@ -31,16 +31,6 @@ typedef struct char str[MAX_STRING_LEN]; }IOT_PARAM; -typedef struct{ - float airtemp; /* 空气温度*/ - float RH; /* 相对湿度*/ - float atmos; /* 大气压*/ - float windspeed; /* 风速*/ - float winddirection; /* 风向*/ - float rainfall; /* 雨量*/ - float sunshine; /* 日照*/ -}Weather; - void GpioControl::setInt(int cmd, int value) { int fd = open(GPIO_NODE_MP, O_RDONLY);