Commit a01f02a6c48e55f08230a55079309d3fb57aff34
1 parent
0af5b52a
--no commit message
Showing
4 changed files
with
6 additions
and
12 deletions
Project/applications/smartcities/include/buffer.h
Project/applications/smartcities/include/callbacks.h
Project/applications/smartcities/include/module.h
Project/applications/smartcities/include/sensors.h
@@ -4,13 +4,12 @@ | @@ -4,13 +4,12 @@ | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
6 | 6 | ||
7 | -typedef struct sensor_info sensor; | ||
8 | -struct sensor_info { | 7 | +typedef struct { |
9 | uint8_t ID; | 8 | uint8_t ID; |
10 | char* description; | 9 | char* description; |
11 | char* type; | 10 | char* type; |
12 | char* unit; | 11 | char* unit; |
13 | -}; | 12 | +} sensor; |
14 | 13 | ||
15 | extern sensor humidity_sensor; | 14 | extern sensor humidity_sensor; |
16 | 15 |