We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7380947 commit f3159e3Copy full SHA for f3159e3
subsys/mgmt/updatehub/updatehub_device.c
@@ -1,12 +1,15 @@
1
/*
2
- * Copyright (c) 2018-2020 O.S.Systems
+ * Copyright (c) 2018-2023 O.S.Systems
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
-#include "updatehub_device.h"
7
8
#include <string.h>
9
+#include <zephyr/drivers/hwinfo.h>
10
+
11
+#include "updatehub_device.h"
12
13
bool updatehub_get_device_identity(char *id, int id_max_len)
14
{
15
uint8_t hwinfo_id[DEVICE_ID_BIN_MAX_SIZE];
subsys/mgmt/updatehub/updatehub_device.h
@@ -7,9 +7,6 @@
#ifndef __UPDATEHUB_DEVICE_H__
#define __UPDATEHUB_DEVICE_H__
-#include <zephyr/kernel.h>
-#include <zephyr/drivers/hwinfo.h>
-
#define DEVICE_ID_BIN_MAX_SIZE 64
#define DEVICE_ID_HEX_MAX_SIZE ((DEVICE_ID_BIN_MAX_SIZE * 2) + 1)
0 commit comments