modem: backends: uart: register their own log modules
Instead of both using the same modem_backend_uart, for better visibility. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
8ca15cedc2
commit
15cc3ff0d6
@ -9,9 +9,6 @@
|
||||
|
||||
#include <zephyr/modem/backend/uart.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
|
||||
|
||||
#include <string.h>
|
||||
|
||||
static void modem_backend_uart_receive_ready_handler(struct k_work *item)
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#include "modem_backend_uart_async.h"
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_DECLARE(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(modem_backend_uart_async, CONFIG_MODEM_MODULES_LOG_LEVEL);
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#include "modem_backend_uart_isr.h"
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_DECLARE(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(modem_backend_uart_isr, CONFIG_MODEM_MODULES_LOG_LEVEL);
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user