include: add missing sys/printk.h include

Some files were using the printk API without including sys/printk.h

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-10-05 11:45:34 +02:00 committed by Carles Cufí
parent edfa4f1324
commit 3976ccd5f7
4 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "hello_world_driver.h"
#include <zephyr/types.h>
#include <zephyr/sys/printk.h>
#include <zephyr/syscall_handler.h>
/**

View File

@ -8,6 +8,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
const uint8_t DISPLAY_OFF[4] = { CHAR_OFF, CHAR_OFF, CHAR_OFF, CHAR_OFF };
const uint8_t TEXT_Err[4] = { CHAR_E, CHAR_r, CHAR_r, CHAR_OFF };

View File

@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/storage/flash_map.h>
#include <zephyr/sys/printk.h>
#include "hawkbit_firmware.h"

View File

@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/sys/printk.h>
#include <zephyr/storage/flash_map.h>
#include "updatehub_firmware.h"