Skip to content

Commit f3159e3

Browse files
nandojvecarlescufi
authored andcommitted
mgmt: updatehub: Clean-up device headers
Move headers from header includes to source file. Signed-off-by: Gerson Fernando Budke <[email protected]>
1 parent 7380947 commit f3159e3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

subsys/mgmt/updatehub/updatehub_device.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
/*
2-
* Copyright (c) 2018-2020 O.S.Systems
2+
* Copyright (c) 2018-2023 O.S.Systems
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6-
#include "updatehub_device.h"
76

87
#include <string.h>
98

9+
#include <zephyr/drivers/hwinfo.h>
10+
11+
#include "updatehub_device.h"
12+
1013
bool updatehub_get_device_identity(char *id, int id_max_len)
1114
{
1215
uint8_t hwinfo_id[DEVICE_ID_BIN_MAX_SIZE];

subsys/mgmt/updatehub/updatehub_device.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
#ifndef __UPDATEHUB_DEVICE_H__
88
#define __UPDATEHUB_DEVICE_H__
99

10-
#include <zephyr/kernel.h>
11-
#include <zephyr/drivers/hwinfo.h>
12-
1310
#define DEVICE_ID_BIN_MAX_SIZE 64
1411
#define DEVICE_ID_HEX_MAX_SIZE ((DEVICE_ID_BIN_MAX_SIZE * 2) + 1)
1512

0 commit comments

Comments
 (0)