Fix missing semicolons in DEBUGASSERT statements
This commit is contained in:
parent
a560d70e7a
commit
730ca4ce41
@ -327,7 +327,7 @@ int esp32_alloc_levelint(int priority)
|
|||||||
uint32_t intmask;
|
uint32_t intmask;
|
||||||
|
|
||||||
DEBUGASSERT(priority >= ESP32_MIN_PRIORITY &&
|
DEBUGASSERT(priority >= ESP32_MIN_PRIORITY &&
|
||||||
priority <= ESP32_MAX_PRIORITY)
|
priority <= ESP32_MAX_PRIORITY);
|
||||||
|
|
||||||
/* Check if there are any level CPU interrupts available at the requested
|
/* Check if there are any level CPU interrupts available at the requested
|
||||||
* interrupt priority.
|
* interrupt priority.
|
||||||
@ -359,7 +359,7 @@ int esp32_alloc_edgeint(int priority)
|
|||||||
uint32_t intmask;
|
uint32_t intmask;
|
||||||
|
|
||||||
DEBUGASSERT(priority >= ESP32_MIN_PRIORITY &&
|
DEBUGASSERT(priority >= ESP32_MIN_PRIORITY &&
|
||||||
priority <= ESP32_MAX_PRIORITY)
|
priority <= ESP32_MAX_PRIORITY);
|
||||||
|
|
||||||
/* Check if there are any edge CPU interrupts available at the requested
|
/* Check if there are any edge CPU interrupts available at the requested
|
||||||
* interrupt priority.
|
* interrupt priority.
|
||||||
|
@ -183,7 +183,7 @@ void xtensa_timer_initialize(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
divisor = (1000000ull * (uint64_t)BOARD_CLOCK_FREQUENCY) / CONFIG_USEC_PER_TICK;
|
divisor = (1000000ull * (uint64_t)BOARD_CLOCK_FREQUENCY) / CONFIG_USEC_PER_TICK;
|
||||||
DEBUGASSERT(divisor <= UINT32_MAX)
|
DEBUGASSERT(divisor <= UINT32_MAX);
|
||||||
g_tick_divisor = divisor;
|
g_tick_divisor = divisor;
|
||||||
|
|
||||||
/* Set up periodic timer */
|
/* Set up periodic timer */
|
||||||
|
Loading…
Reference in New Issue
Block a user