include/debug.h: Use <nuttx/debug.h> in apps

Replace app-side includes of <debug.h> with <nuttx/debug.h> to use the
header from the NuttX tree explicitly after the header move.

Signed-off-by: Piyush Patle <piyushpatle228@gmail.com>
This commit is contained in:
Piyush Patle 2026-04-01 16:29:59 +05:30 committed by Alan C. Assis
parent 3591378113
commit 9d849adfab
352 changed files with 403 additions and 404 deletions

View file

@ -27,7 +27,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
@ -150,7 +150,7 @@ static int nxscope_chinfo_send(FAR struct nxscope_s *s, uint8_t ch)
namelen = strnlen(s->chinfo[ch].name, CHAN_NAMELEN_MAX);
memcpy(&data[tmp], s->chinfo[ch].name, namelen);
/* Treminate name wit a null-character */
/* Terminate name with a null character */
txlen = tmp + namelen + 1;
data[txlen - 1] = '\0';

View file

@ -27,7 +27,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <endian.h>
#include <errno.h>
#include <string.h>

View file

@ -27,7 +27,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>

View file

@ -27,7 +27,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <stdlib.h>

View file

@ -26,7 +26,7 @@
#include <nuttx/config.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -26,7 +26,7 @@
#include <nuttx/config.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>

View file

@ -27,7 +27,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <endian.h>
#include <errno.h>
#include <string.h>
@ -274,7 +274,7 @@ int nxscope_proto_ser_init(FAR struct nxscope_proto_s *proto, FAR void *cfg)
{
DEBUGASSERT(proto);
/* cfg argument not used, but keept here for compatibility with
/* cfg argument not used, but kept here for compatibility with
* future protocol implementations.
*/