1
0
forked from me/IronOS

Address PR comments

This commit is contained in:
Ben V. Brown
2020-12-17 21:42:33 +11:00
parent f2106dad6c
commit f512c4f2ac

View File

@@ -1,6 +1,5 @@
#ifndef FREERTOS_CONFIG_H #ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H
/* Ensure stdint is only used by the compiler, and not the assembler. */
#include <stdint.h> #include <stdint.h>
#include "nuclei_sdk_soc.h" #include "nuclei_sdk_soc.h"
//RISC-V configuration //RISC-V configuration
@@ -68,7 +67,8 @@
/* Define to trap errors during development. */ /* Define to trap errors during development. */
#define configASSERT(x) \ #define configASSERT(x) \
if ((x) == 0) { \ if ((x) == 0) \
{ \
taskDISABLE_INTERRUPTS(); \ taskDISABLE_INTERRUPTS(); \
for (;;) \ for (;;) \
; \ ; \