mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
This commit is contained in:
@@ -190,7 +190,7 @@ void usbtrace(uint16_t event, uint16_t value)
|
||||
}
|
||||
}
|
||||
#else
|
||||
/* Just print the data using lowsyslog */
|
||||
/* Just print the data using syslog */
|
||||
|
||||
usbtrace_trprintf(usbtrace_syslog, event, value);
|
||||
#endif
|
||||
|
||||
@@ -200,13 +200,13 @@ static void usbmsc_dumpdata(const char *msg, const uint8_t *buf, int buflen)
|
||||
{
|
||||
int i;
|
||||
|
||||
lowsyslog(LOG_DEBUG, "%s:", msg);
|
||||
syslog(LOG_DEBUG, "%s:", msg);
|
||||
for (i = 0; i < buflen; i++)
|
||||
{
|
||||
lowsyslog(LOG_DEBUG, " %02x", buf[i]);
|
||||
syslog(LOG_DEBUG, " %02x", buf[i]);
|
||||
}
|
||||
|
||||
lowsyslog(LOG_DEBUG, "\n");
|
||||
syslog(LOG_DEBUG, "\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user