mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Replace all occurrences of vdbg with vinfo
This commit is contained in:
@@ -101,10 +101,10 @@
|
||||
|
||||
#ifdef CONFIG_DEBUG_LEDS
|
||||
# define leddbg lldbg
|
||||
# define ledvdbg llvdbg
|
||||
# define ledinfo llinfo
|
||||
#else
|
||||
# define leddbg(x...)
|
||||
# define ledvdbg(x...)
|
||||
# define ledinfo(x...)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -254,7 +254,7 @@ int sam_sdinitialize(int minor)
|
||||
|
||||
/* Get the SPI driver instance for the SD chip select */
|
||||
|
||||
fvdbg("Initializing bit bang SPI for the MMC/SD slot\n");
|
||||
finfo("Initializing bit bang SPI for the MMC/SD slot\n");
|
||||
|
||||
spi = sam_mmcsd_spiinitialize();
|
||||
if (!spi)
|
||||
@@ -263,11 +263,11 @@ int sam_sdinitialize(int minor)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
fvdbg("Successfully initialized bit bang SPI for the MMC/SD slot\n");
|
||||
finfo("Successfully initialized bit bang SPI for the MMC/SD slot\n");
|
||||
|
||||
/* Bind the SPI device for the chip select to the slot */
|
||||
|
||||
fvdbg("Binding bit bang SPI device to MMC/SD slot %d\n",
|
||||
finfo("Binding bit bang SPI device to MMC/SD slot %d\n",
|
||||
SAM34_MMCSDSLOTNO);
|
||||
|
||||
ret = mmcsd_spislotinitialize(minor, SAM34_MMCSDSLOTNO, spi);
|
||||
@@ -278,7 +278,7 @@ int sam_sdinitialize(int minor)
|
||||
return ret;
|
||||
}
|
||||
|
||||
fvdbg("Successfuly bound bit bang SPI device to MMC/SD slot %d\n",
|
||||
finfo("Successfuly bound bit bang SPI device to MMC/SD slot %d\n",
|
||||
SAM34_MMCSDSLOTNO);
|
||||
|
||||
return OK;
|
||||
|
||||
@@ -266,7 +266,7 @@ static int tsc_attach(FAR struct ads7843e_config_s *state, xcpt_t isr)
|
||||
{
|
||||
/* Attach the XPT2046 interrupt */
|
||||
|
||||
ivdbg("Attaching %p to IRQ %d\n", isr, SAM_TSC_IRQ);
|
||||
iinfo("Attaching %p to IRQ %d\n", isr, SAM_TSC_IRQ);
|
||||
return irq_attach(SAM_TSC_IRQ, isr);
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ static void tsc_enable(FAR struct ads7843e_config_s *state, bool enable)
|
||||
{
|
||||
/* Attach and enable, or detach and disable */
|
||||
|
||||
ivdbg("IRQ:%d enable:%d\n", SAM_TSC_IRQ, enable);
|
||||
iinfo("IRQ:%d enable:%d\n", SAM_TSC_IRQ, enable);
|
||||
if (enable)
|
||||
{
|
||||
sam_gpioirqenable(SAM_TSC_IRQ);
|
||||
@@ -300,7 +300,7 @@ static bool tsc_pendown(FAR struct ads7843e_config_s *state)
|
||||
/* The /PENIRQ value is active low */
|
||||
|
||||
bool pendown = !sam_gpioread(GPIO_TSC_IRQ);
|
||||
ivdbg("pendown:%d\n", pendown);
|
||||
iinfo("pendown:%d\n", pendown);
|
||||
return pendown;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,10 +61,10 @@
|
||||
|
||||
#ifdef CONFIG_DEBUG_LEDS
|
||||
# define leddbg lldbg
|
||||
# define ledvdbg llvdbg
|
||||
# define ledinfo llinfo
|
||||
#else
|
||||
# define leddbg(x...)
|
||||
# define ledvdbg(x...)
|
||||
# define ledinfo(x...)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user