mgmt: updatehub: Clean-up device headers

Move headers from header includes to source file.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
Gerson Fernando Budke 2023-01-02 11:55:42 +01:00 committed by Carles Cufí
parent 73809472f8
commit f3159e3885
2 changed files with 5 additions and 5 deletions

View file

@ -1,12 +1,15 @@
/*
* Copyright (c) 2018-2020 O.S.Systems
* Copyright (c) 2018-2023 O.S.Systems
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "updatehub_device.h"
#include <string.h>
#include <zephyr/drivers/hwinfo.h>
#include "updatehub_device.h"
bool updatehub_get_device_identity(char *id, int id_max_len)
{
uint8_t hwinfo_id[DEVICE_ID_BIN_MAX_SIZE];

View file

@ -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)