diff --git a/configs/16z/nsh/defconfig b/configs/16z/nsh/defconfig index 2f59084654..d3805a9167 100644 --- a/configs/16z/nsh/defconfig +++ b/configs/16z/nsh/defconfig @@ -135,7 +135,7 @@ CONFIG_ENDIAN_BIG=y # # Board Settings # -CONFIG_BOARD_LOOPSPERMSEC=2203 +CONFIG_BOARD_LOOPSPERMSEC=2811 # CONFIG_ARCH_CALIBRATION is not set # diff --git a/sched/sig_timedwait.c b/sched/sig_timedwait.c index 7241343377..3952e42c29 100644 --- a/sched/sig_timedwait.c +++ b/sched/sig_timedwait.c @@ -79,7 +79,7 @@ ****************************************************************************/ /**************************************************************************** - * Private Functionss + * Private Functions ****************************************************************************/ /**************************************************************************** @@ -142,8 +142,8 @@ static void sig_timeout(int argc, uint32_t itcb) * is forever. * * If the info argument is non-NULL, the selected signal number is stored - * in the si_signo member and the cause of the signal is store in the - * si_code emember. The content of si_value is only meaningful if the + * in the si_signo member and the cause of the signal is store din the + * si_code member. The content of si_value is only meaningful if the * signal was generated by sigqueue(). * * The following values for si_code are defined in signal.h: @@ -238,7 +238,7 @@ int sigtimedwait(FAR const sigset_t *set, FAR struct siginfo *info, if (timeout) { /* Convert the timespec to system clock ticks, making sure that - * the resultint delay is greater than or equal to the requested + * the resulting delay is greater than or equal to the requested * time in nanoseconds. */ diff --git a/sched/wd_internal.h b/sched/wd_internal.h index e63a8bdae4..cbbc91cd14 100644 --- a/sched/wd_internal.h +++ b/sched/wd_internal.h @@ -103,13 +103,14 @@ extern sq_queue_t g_wdactivelist; #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif -EXTERN void weak_function wd_initialize(void); -EXTERN void weak_function wd_timer(void); +void weak_function wd_initialize(void); +void weak_function wd_timer(void); #undef EXTERN #ifdef __cplusplus