gcc error when const is used

Change to #define to be compatible with gcc.

Change-Id: Id2a2b3dbeaaf7aea9b0e2075320c30f8bad50fc7
This commit is contained in:
Bill(Shuzhou) Liu committed 2022-12-05 16:27:59 -06:00
1 parent 9c4ce805cf
commit 73d8b35610
1 file changed
+1 -1
+1 -1
View File
@@ -431,7 +431,7 @@ typedef enum {
/**
* @brief The maximum test cases to run
*/
const uint32_t MAX_TEST_CASES = RDC_DIAG_TEST_LAST - RDC_DIAG_TEST_FIRST + 1;
#define MAX_TEST_CASES (RDC_DIAG_TEST_LAST - RDC_DIAG_TEST_FIRST + 1)
/**
* @brief The maximum length of the diagnostic messages