tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c.

This commit is contained in:
Gregory Nutt
2019-03-01 10:50:02 -06:00
parent 4942867fcf
commit f914ec6e2b
28 changed files with 362 additions and 233 deletions
+4 -1
View File
@@ -51,7 +51,10 @@
/* 23 * (month + 1) / 9, month = 0..11 */
static const uint8_t g_lookup[12] = {2, 5, 7, 10, 12, 15, 17, 20, 23, 25, 28, 30};
static const uint8_t g_lookup[12] =
{
2, 5, 7, 10, 12, 15, 17, 20, 23, 25, 28, 30
};
/****************************************************************************
* Public Functions
+3 -1
View File
@@ -293,7 +293,9 @@ void clock_synchronize(void)
#if defined(CONFIG_RTC) && !defined(CONFIG_SCHED_TICKLESS)
void clock_resynchronize(FAR struct timespec *rtc_diff)
{
struct timespec rtc_time, bias, curr_ts;
struct timespec rtc_time;
struct timespec bias;
struct timespec curr_ts;
struct timespec rtc_diff_tmp;
irqstate_t flags;
int32_t carry;