nuttx: remove space befone newline in logs

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2021-12-27 00:18:22 +02:00
committed by Xiang Xiao
parent e68ffb9f99
commit 3ccb657dc2
96 changed files with 274 additions and 272 deletions
@@ -82,7 +82,8 @@ static struct work_s g_sdcard_work;
#endif #endif
static struct pm_cpu_freqlock_s g_hv_lock = static struct pm_cpu_freqlock_s g_hv_lock =
PM_CPUFREQLOCK_INIT(PM_CPUFREQLOCK_TAG('S','D',0), PM_CPUFREQLOCK_FLAG_HV); PM_CPUFREQLOCK_INIT(PM_CPUFREQLOCK_TAG('S', 'D', 0),
PM_CPUFREQLOCK_FLAG_HV);
/**************************************************************************** /****************************************************************************
* Private Functions * Private Functions
+2 -1
View File
@@ -1926,7 +1926,8 @@ int main(int argc, char **argv, char **envp)
{ {
/* Check for URI schemes, e.g. "http://" or "https://" */ /* Check for URI schemes, e.g. "http://" or "https://" */
if (n == 0 || strncmp(&line[n - 1], "://", 3) != 0) if ((ncomment == 0) &&
(n == 0 || strncmp(&line[n - 1], "://", 3) != 0))
{ {
ERROR("C++ style comment", lineno, n); ERROR("C++ style comment", lineno, n);
n++; n++;