From 33cb2f489b0ed70d0843498deedaa1ce6e330a0d Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Mon, 22 May 2023 12:13:54 -0400 Subject: [PATCH] drivers/mtd_spi_nor: fix debug msg This patch adds some missing newline chars to debug output ensuring the lines get flushed and don't run together. --- drivers/mtd_spi_nor/mtd_spi_nor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd_spi_nor/mtd_spi_nor.c b/drivers/mtd_spi_nor/mtd_spi_nor.c index e0b1ff6c01..9e75bd7b02 100644 --- a/drivers/mtd_spi_nor/mtd_spi_nor.c +++ b/drivers/mtd_spi_nor/mtd_spi_nor.c @@ -501,9 +501,9 @@ static int mtd_spi_nor_init(mtd_dev_t *mtd) _init_pins(dev); /* power up the MTD device*/ - DEBUG("mtd_spi_nor_init: power up MTD device"); + DEBUG_PUTS("mtd_spi_nor_init: power up MTD device"); if (mtd_spi_nor_power(mtd, MTD_POWER_UP)) { - DEBUG("mtd_spi_nor_init: failed to power up MTD device"); + DEBUG_PUTS("mtd_spi_nor_init: failed to power up MTD device"); return -EIO; }