From d901c510564d6b7cef3cd51f56072671c23b2204 Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Thu, 21 Feb 2019 18:43:59 -0600 Subject: [PATCH] Apply astyle fixes Apply the fixes found from astyle. --- rtos/TARGET_CORTEX/mbed_rtx_idle.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rtos/TARGET_CORTEX/mbed_rtx_idle.cpp b/rtos/TARGET_CORTEX/mbed_rtx_idle.cpp index b5f6300338..2ae99f5bfb 100644 --- a/rtos/TARGET_CORTEX/mbed_rtx_idle.cpp +++ b/rtos/TARGET_CORTEX/mbed_rtx_idle.cpp @@ -38,10 +38,10 @@ extern "C" { #ifdef MBED_TICKLESS -MBED_STATIC_ASSERT(!MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || DEVICE_USTICKER, - "Microsecond ticker required when MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER is true"); -MBED_STATIC_ASSERT(MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || DEVICE_LPTICKER, - "Low power ticker required when MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER is false"); + MBED_STATIC_ASSERT(!MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || DEVICE_USTICKER, + "Microsecond ticker required when MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER is true"); + MBED_STATIC_ASSERT(MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || DEVICE_LPTICKER, + "Low power ticker required when MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER is false"); #include "rtos/TARGET_CORTEX/SysTimer.h" @@ -105,7 +105,7 @@ MBED_STATIC_ASSERT(MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || DEVICE_LPTICKER, { uint32_t ticks_to_sleep = osKernelSuspend(); const bool block_deep_sleep = MBED_CONF_TARGET_TICKLESS_FROM_US_TICKER || - (ticks_to_sleep <= MBED_CONF_TARGET_DEEP_SLEEP_LATENCY); + (ticks_to_sleep <= MBED_CONF_TARGET_DEEP_SLEEP_LATENCY); if (block_deep_sleep) { sleep_manager_lock_deep_sleep();